Commit b490f0c2 authored by Dustin Brody's avatar Dustin Brody Committed by Ronald S. Bultje

h264: hide reference frame errors unless requested

Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 3f04ab4f
...@@ -655,7 +655,7 @@ int ff_h264_execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ ...@@ -655,7 +655,7 @@ int ff_h264_execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){
print_short_term(h); print_short_term(h);
print_long_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){ int ff_h264_decode_ref_pic_marking(H264Context *h, GetBitContext *gb){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment