1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

avoid use of OpenCV functions (like cvRound) in cap_ffmpeg_impl*.hpp

This commit is contained in:
Vadim Pisarevsky
2012-04-10 08:40:50 +00:00
parent 12d42768f8
commit 38befe3336
+1 -1
View File
@@ -1416,7 +1416,7 @@ void CvVideoWriter_FFMPEG::close()
// TODO -- safe to ignore output audio stream?
video_st = icv_add_video_stream_FFMPEG(oc, codec_id,
width, height, cvRound(bitrate),
width, height, (int)(bitrate + 0.5),
fps, codec_pix_fmt);
/* set the output parameters (must be done even if no