1
0
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:
Philip Gladstone 2002-05-14 02:36:23 +00:00
parent 0b97443a3f
commit 13a0314fba

View File

@ -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;
}