Commit 8364cb97 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: fix uninitialized variable warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 31f3c947
......@@ -2151,6 +2151,7 @@ static int poll_filters(void)
}
break;
}
frame_pts = AV_NOPTS_VALUE;
if (ost->enc->type == AVMEDIA_TYPE_VIDEO)
filtered_frame->pts = frame_pts = av_rescale_q(picref->pts, ist_pts_tb, AV_TIME_BASE_Q);
else if (picref->pts != AV_NOPTS_VALUE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment