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:
b2bf3cf
)
Pad the extradata in the AAC ADTS to AudioSpecificConfig bitstream filter.
author
Alex Converse
<alex.converse@gmail.com>
Sun, 15 Nov 2009 19:40:44 +0000
(19:40 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Sun, 15 Nov 2009 19:40:44 +0000
(19:40 +0000)
Originally committed as revision 20541 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac_adtstoasc_bsf.c
patch
|
blob
|
history
diff --git
a/libavcodec/aac_adtstoasc_bsf.c
b/libavcodec/aac_adtstoasc_bsf.c
index
96876dd
..
9d53a01
100644
(file)
--- a/
libavcodec/aac_adtstoasc_bsf.c
+++ b/
libavcodec/aac_adtstoasc_bsf.c
@@
-84,7
+84,7
@@
static int aac_adtstoasc_filter(AVBitStreamFilterContext *bsfc,
buf += get_bits_count(&gb)/8;
}
avctx->extradata_size = 2 + pce_size;
- avctx->extradata = av_malloc
(avctx->extradata_size
);
+ avctx->extradata = av_malloc
z(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE
);
init_put_bits(&pb, avctx->extradata, avctx->extradata_size);
put_bits(&pb, 5, hdr.object_type);