1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mpegvideo: Conditionally build error_resilience bits

This breaks the dependency of mpegvideo on error_resilience allowing
compilation of components that depend on the former w/o the latter.
This commit is contained in:
Martin Storsjö 2013-03-06 18:28:49 +01:00 committed by Diego Biurrun
parent 06b54e8425
commit d88738e403

View File

@ -2856,6 +2856,7 @@ void ff_MPV_report_decode_progress(MpegEncContext *s)
ff_thread_report_progress(&s->current_picture_ptr->f, s->mb_y, 0);
}
#if CONFIG_ERROR_RESILIENCE
void ff_mpeg_er_frame_start(MpegEncContext *s)
{
ERContext *er = &s->er;
@ -2871,3 +2872,4 @@ void ff_mpeg_er_frame_start(MpegEncContext *s)
ff_er_frame_start(er);
}
#endif /* CONFIG_ERROR_RESILIENCE */