[FFmpeg-devel] [PATCH] Fix bug in voc demuxer that was introduced in SVN r26309.
Carl Eugen Hoyos
cehoyos
Tue Jan 18 13:50:39 CET 2011
Ronald S. Bultje <rsbultje <at> gmail.com> writes:
> @@ -117,7 +117,7 @@ voc_get_packet(AVFormatContext *s, AVPacket *pkt,
> AVStream *st, int max_size)
> dec->sample_rate = get_le32(pb);
> dec->bits_per_coded_sample = get_byte(pb);
> dec->channels = get_byte(pb);
> - tmp_codec = ff_codec_get_id(ff_voc_codec_tags, get_byte(pb));
> + tmp_codec = ff_codec_get_id(ff_voc_codec_tags, get_le16(pb));
>
> Does this have (a) fate test(s)?
No, since there is a native muxer, this should be a regression test.
Carl Eugen
More information about the ffmpeg-devel
mailing list