diff options
author | Philip Gladstone <philipjsg@users.sourceforge.net> | 2002-05-14 02:36:23 +0000 |
---|---|---|
committer | Philip Gladstone <philipjsg@users.sourceforge.net> | 2002-05-14 02:36:23 +0000 |
commit | 13a0314fba9470c28fbcd82377c96d87b3d32df8 (patch) | |
tree | cd06af438c6691eaabc05b55915e75e0ea6e81bd /libavcodec | |
parent | 0b97443a3f2e8b1ccfd365b1eca3fb9ada94f09a (diff) | |
download | ffmpeg-13a0314fba9470c28fbcd82377c96d87b3d32df8.tar.gz |
* 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
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 83982defe3..13cc978615 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -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; } |