pcmenc: set frame_size to 0.
This indicates that the actual frame size is based on the buf_size passed to avcodec_encode_audio().
This commit is contained in:
parent
f01f6a8474
commit
56f22b7e16
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
static av_cold int pcm_encode_init(AVCodecContext *avctx)
|
static av_cold int pcm_encode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
avctx->frame_size = 1;
|
avctx->frame_size = 0;
|
||||||
switch(avctx->codec->id) {
|
switch(avctx->codec->id) {
|
||||||
case CODEC_ID_PCM_ALAW:
|
case CODEC_ID_PCM_ALAW:
|
||||||
pcm_alaw_tableinit();
|
pcm_alaw_tableinit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user