diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-22 20:05:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-22 20:05:58 +0200 |
commit | be2b927a6f5311cd5dbf25bd34a029c5d376d9cd (patch) | |
tree | 6a1f0e92306652f9317b16d1efa59dccde060d14 /ffmpeg.c | |
parent | 951cbea56fdc03ef96d07fbd7e5bed755d42ac8a (diff) | |
download | ffmpeg-be2b927a6f5311cd5dbf25bd34a029c5d376d9cd.tar.gz |
ffmpeg: stricter refcount check in unref_buffer()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -596,7 +596,7 @@ static void free_buffer_pool(InputStream *ist) static void unref_buffer(InputStream *ist, FrameBuffer *buf) { - av_assert0(buf->refcount); + av_assert0(buf->refcount > 0); buf->refcount--; if (!buf->refcount) { buf->next = ist->buffer_pool; |