Browse Source

h264_refs: assert that the references are not deallocated

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 13 years ago
parent
commit
3f2ce24f59
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264_refs.c

+ 1
- 0
libavcodec/h264_refs.c View File

@@ -317,6 +317,7 @@ int ff_h264_decode_ref_pic_list_reordering(H264Context *h)
else else
return -1; return -1;
} }
av_assert0(av_buffer_get_ref_count(h->ref_list[list][index].f.buf[0]) > 0);
} }
} }




Loading…
Cancel
Save