[FFmpeg-devel] [PATCH] Fix bug in voc demuxer that was introduced in SVN r26309. (original) (raw)
Ronald S. Bultje rsbultje
Tue Jan 18 13:48:22 CET 2011
- Previous message: [FFmpeg-devel] [PATCH] Fix bug in voc demuxer that was introduced in SVN r26309.
- Next message: [FFmpeg-devel] [PATCH] Fix bug in voc demuxer that was introduced in SVN r26309.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On Tue, Jan 18, 2011 at 7:45 AM, Justin Ruggles <justin.ruggles at gmail.com> wrote:
Fixes issue 2560. @@ -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)); if (dec->codec_id == CODEC_ID_NONE) dec->codec_id = tmp_codec; else if (dec->codec_id != tmp_codec)
Does this have (a) fate test(s)? Should have been caught...
Ronald
- Previous message: [FFmpeg-devel] [PATCH] Fix bug in voc demuxer that was introduced in SVN r26309.
- Next message: [FFmpeg-devel] [PATCH] Fix bug in voc demuxer that was introduced in SVN r26309.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]