OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01f6a8
)
pcmenc: set frame_size to 0.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 10 Jan 2012 20:17:39 +0000
(15:17 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 11 Jan 2012 14:09:56 +0000
(09:09 -0500)
This indicates that the actual frame size is based on the buf_size passed to
avcodec_encode_audio().
libavcodec/pcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/pcm.c
b/libavcodec/pcm.c
index
76d5c10
..
3223112
100644
(file)
--- a/
libavcodec/pcm.c
+++ b/
libavcodec/pcm.c
@@
-33,7
+33,7
@@
static av_cold int pcm_encode_init(AVCodecContext *avctx)
{
- avctx->frame_size =
1
;
+ avctx->frame_size =
0
;
switch(avctx->codec->id) {
case CODEC_ID_PCM_ALAW:
pcm_alaw_tableinit();