vqf: do not set bits_per_coded_sample for TwinVQ.
authorJustin Ruggles <justin.ruggles@gmail.com>
Sat, 29 Oct 2011 23:24:55 +0000 (19:24 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 11 Nov 2011 19:06:14 +0000 (14:06 -0500)
It is a lossy codec with varying quantization, so bits_per_coded_sample is
not applicable.

libavformat/vqf.c

index 71dc1ae..4650a0b 100644 (file)
@@ -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);