diff options
author | Dustin Brody <libav@parsoma.net> | 2011-08-17 18:08:09 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-08-17 20:56:54 -0700 |
commit | b490f0c2bcec9d66d8878187f7e6661017e6d398 (patch) | |
tree | 4aaf5842707e51959ce06961937f19d16314d5b1 | |
parent | 3f04ab4fcddaaf166da2d623927a6b8547ab87a6 (diff) | |
download | ffmpeg-b490f0c2bcec9d66d8878187f7e6661017e6d398.tar.gz |
h264: hide reference frame errors unless requested
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-rw-r--r-- | libavcodec/h264_refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index b7e43e7dca..ce29caf2f0 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -655,7 +655,7 @@ int ff_h264_execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ print_short_term(h); print_long_term(h); - return err; + return h->s.avctx->error_recognition >= FF_ER_EXPLODE ? err : 0; } int ff_h264_decode_ref_pic_marking(H264Context *h, GetBitContext *gb){ |