From: Philip Gladstone Date: Tue, 14 May 2002 02:36:23 +0000 (+0000) Subject: * Mea culpa: it seems that I broke encoding to 8-bit pcm files. This fixes it. X-Git-Tag: v0.5~17808 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13a0314fba9470c28fbcd82377c96d87b3d32df8;p=platform%2Fupstream%2Flibav.git * 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 --- diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 83982de..13cc978 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; }