mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-08 02:06:02 +08:00
ffmpeg: fix uninitialized variable warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
1
ffmpeg.c
1
ffmpeg.c
@@ -2151,6 +2151,7 @@ static int poll_filters(void)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
frame_pts = AV_NOPTS_VALUE;
|
||||||
if (ost->enc->type == AVMEDIA_TYPE_VIDEO)
|
if (ost->enc->type == AVMEDIA_TYPE_VIDEO)
|
||||||
filtered_frame->pts = frame_pts = av_rescale_q(picref->pts, ist_pts_tb, AV_TIME_BASE_Q);
|
filtered_frame->pts = frame_pts = av_rescale_q(picref->pts, ist_pts_tb, AV_TIME_BASE_Q);
|
||||||
else if (picref->pts != AV_NOPTS_VALUE)
|
else if (picref->pts != AV_NOPTS_VALUE)
|
||||||
|
Reference in New Issue
Block a user