projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ffmpeg: stricter refcount check in unref_buffer()
[ffmpeg.git]
/
ffmpeg.c
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
0abed0c
..
dc318d1
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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;