[FFmpeg-cvslog] vqf: do not set bits_per_coded_sample for TwinVQ.

Justin Ruggles git at videolan.org
Sat Nov 12 03:02:02 CET 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sat Oct 29 19:24:55 2011 -0400| [ca482ce4204fe198b2df1b41f3d15e883f3f1f0d] | committer: Justin Ruggles

vqf: do not set bits_per_coded_sample for TwinVQ.

It is a lossy codec with varying quantization, so bits_per_coded_sample is
not applicable.

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

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

diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index 71dc1ae..4650a0b 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -106,7 +106,6 @@ static int vqf_read_header(AVFormatContext *s, AVFormatParameters *ap)
             avio_skip(s->pb, len-12);
 
             st->codec->bit_rate              = read_bitrate*1000;
-            st->codec->bits_per_coded_sample = 16;
             break;
         case MKTAG('N','A','M','E'):
             add_metadata(s, "title"    , len, header_size);



More information about the ffmpeg-cvslog mailing list