mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00: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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user