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:
parent
06b54e8425
commit
d88738e403
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user