Browse Source

* 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
tags/v0.5
Philip Gladstone 23 years ago
parent
commit
13a0314fba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pcm.c

+ 1
- 1
libavcodec/pcm.c 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;
}


Loading…
Cancel
Save