Fixes CID1241508
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -2849,7 +2849,7 @@ static int transcode_init(void) |
2849 | 2849 |
} |
2850 | 2850 |
|
2851 | 2851 |
if (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO) { |
2852 |
- if (ost->filter && !ost->frame_rate.num) |
|
2852 |
+ if (!ost->frame_rate.num) |
|
2853 | 2853 |
ost->frame_rate = av_buffersink_get_frame_rate(ost->filter->filter); |
2854 | 2854 |
if (ist && !ost->frame_rate.num) |
2855 | 2855 |
ost->frame_rate = ist->framerate; |