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

minor changes in wrapper

This commit is contained in:
Alexander Shishkov
2012-03-15 15:12:52 +00:00
parent b538210804
commit 7b3ec537b4
+1 -1
View File
@@ -1069,7 +1069,7 @@ static AVStream *icv_add_video_stream_FFMPEG(AVFormatContext *oc,
frame_rate=(int)(fps+0.5);
frame_rate_base=1;
while (fabs((double)frame_rate/frame_rate_base) - fps > 0.001){
frame_rate_base*=10;
frame_rate_base *= 10;
frame_rate=(int)(fps*frame_rate_base + 0.5);
}
#if LIBAVFORMAT_BUILD > 4752