Browse Source

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.
tags/n2.0
Martin Storsjö Diego Biurrun 12 years ago
parent
commit
d88738e403
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/mpegvideo.c

+ 2
- 0
libavcodec/mpegvideo.c 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 */

Loading…
Cancel
Save