[FFmpeg-devel] [PATCH] Fix bug in voc demuxer that was introduced in SVN r26309.
Michael Niedermayer
michaelni
Tue Jan 18 16:11:01 CET 2011
On Tue, Jan 18, 2011 at 07:45:31AM -0500, Justin Ruggles wrote:
>
> Fixes issue 2560.
> ---
> libavformat/vocdec.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> vocdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 7d71a58c132ae8d4eb60ef3b20979720cff67f9a 0001-Fix-bug-in-voc-demuxer-that-was-introduced-in-SVN-r2.patch
> diff --git a/libavformat/vocdec.c b/libavformat/vocdec.c
> index aa69dd2..7cc37f0 100644
> --- a/libavformat/vocdec.c
> +++ b/libavformat/vocdec.c
> @@ -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));
lgtm
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110118/5ad7fc3d/attachment.pgp>
More information about the ffmpeg-devel
mailing list