projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22a6a23
)
ffmpeg: assert the refcount of decoded frames
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 22 Apr 2012 18:10:00 +0000
(20:10 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 22 Apr 2012 18:10:00 +0000
(20:10 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
ab1b7e8
..
d22378f
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-2614,6
+2614,7
@@
static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
fb->buf->priv = buf;
fb->buf->free = filter_release_buffer;
+ av_assert0(buf->refcount>0);
buf->refcount++;
av_buffersrc_buffer(ist->filters[i]->filter, fb);
} else