Commit 13a0314f authored by Philip Gladstone's avatar Philip Gladstone

* 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
parent 0b97443a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment