mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
* Mea culpa: it seems that I broke encoding to 8-bit pcm files. This fixes it.
Originally committed as revision 493 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0b97443a3f
commit
13a0314fba
@ -238,7 +238,7 @@ static int encode_frame(AVCodecContext *avctx,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
avctx->key_frame = 1;
|
avctx->key_frame = 1;
|
||||||
avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
|
//avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
|
||||||
|
|
||||||
return dst - frame;
|
return dst - frame;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user