1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-28 04:06:12 +02:00

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.
This commit is contained in:
Justin Ruggles 2011-10-29 19:24:55 -04:00
parent a8a6da4a0e
commit ca482ce420

View 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);