Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:

committed by
Diego Biurrun

parent
6209669de4
commit
975a1447f7
2
ffmpeg.c
2
ffmpeg.c
@@ -1198,7 +1198,7 @@ static void do_video_out(AVFormatContext *s,
|
||||
//av_log(NULL, AV_LOG_DEBUG, "%"PRId64" -> encoder\n", ost->sync_opts);
|
||||
if (ost->forced_kf_index < ost->forced_kf_count &&
|
||||
big_picture.pts >= ost->forced_kf_pts[ost->forced_kf_index]) {
|
||||
big_picture.pict_type = FF_I_TYPE;
|
||||
big_picture.pict_type = AV_PICTURE_TYPE_I;
|
||||
ost->forced_kf_index++;
|
||||
}
|
||||
ret = avcodec_encode_video(enc,
|
||||
|
Reference in New Issue
Block a user