OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
103dfbe
)
Reset rbsp buffer size when freeing its data buffer.
author
Mike Scheutzow
<scheutzow@alcatel-lucent.com>
Fri, 13 Nov 2009 18:33:28 +0000
(18:33 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Fri, 13 Nov 2009 18:33:28 +0000
(18:33 +0000)
Patch by Mike Scheutzow $(name) AT alcatel 'minus' lucent com
Originally committed as revision 20531 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
5e03e47
..
daf6c3e
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-1999,6
+1999,8
@@
static void free_tables(H264Context *h){
av_freep(&hx->s.obmc_scratchpad);
av_freep(&hx->rbsp_buffer[1]);
av_freep(&hx->rbsp_buffer[0]);
+ hx->rbsp_buffer_size[0] = 0;
+ hx->rbsp_buffer_size[1] = 0;
if (i) av_freep(&h->thread_context[i]);
}
}