Browse Source

ffmpeg: stricter refcount check in unref_buffer()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Michael Niedermayer 13 years ago
parent
commit
be2b927a6f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg.c

+ 1
- 1
ffmpeg.c View File

@@ -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;


Loading…
Cancel
Save