[FFmpeg-cvslog] ogg/celt: do not set sample_fmt in the demuxer

Justin Ruggles git at videolan.org
Wed Oct 5 04:14:07 CEST 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Sep 26 15:06:33 2011 -0400| [fc2dd2c7ac9f26ae4449623875746bb1f350f08f] | committer: Justin Ruggles

ogg/celt: do not set sample_fmt in the demuxer

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fc2dd2c7ac9f26ae4449623875746bb1f350f08f
---

 libavformat/oggparsecelt.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavformat/oggparsecelt.c b/libavformat/oggparsecelt.c
index 82a842c..6a0c308 100644
--- a/libavformat/oggparsecelt.c
+++ b/libavformat/oggparsecelt.c
@@ -68,7 +68,6 @@ static int celt_header(AVFormatContext *s, int idx)
         st->codec->sample_rate    = sample_rate;
         st->codec->channels       = nb_channels;
         st->codec->frame_size     = frame_size;
-        st->codec->sample_fmt     = AV_SAMPLE_FMT_S16;
         st->codec->extradata      = extradata;
         st->codec->extradata_size = 2 * sizeof(uint32_t);
         if (sample_rate)



More information about the ffmpeg-cvslog mailing list