diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-24 17:05:02 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-12-03 12:51:43 +0000 |
commit | c45eeb2dbf42382d335da8068231a8026c08843b (patch) | |
tree | 0ebbc71551c52ab96aabf3beeee527fa583c6cba /libavcodec/mpegvideo.c | |
parent | 3a56bcee7cb7549b2813e39ce3bee3b7c522aecb (diff) | |
download | ffmpeg-c45eeb2dbf42382d335da8068231a8026c08843b.tar.gz |
mpegvideo: replace assert about interlaced EC with debug av_log()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index da9f24f36f..2a46a684bb 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -370,7 +370,9 @@ static void mpeg_er_decode_mb(void *opaque, int ref, int mv_dir, int mv_type, s->dest[1] = s->current_picture.f->data[1] + (s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16 >> s->chroma_x_shift); s->dest[2] = s->current_picture.f->data[2] + (s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16 >> s->chroma_x_shift); - assert(ref == 0); + if (ref) + av_log(s->avctx, AV_LOG_DEBUG, + "Interlaced error concealment is not fully implemented\n"); ff_mpv_decode_mb(s, s->block); } |