[vlc-devel] [PATCH] in24 audio endianess fix

Ilkka Ollakka ilkka.ollakka+vlc at oamk.fi
Tue Jul 3 16:30:45 CEST 2007


Hi,

In modules/codec/araw.c there has been support for in24 raw audio format, but this
patch adds support to notice if .mov file includes in24 audio in little-
or bigendian format. mp4-demux sets fourcc to 42ni when it's
little-endian (kinda backward maybe, but that's easy to change), it
checks if wave/enda or enda atom is in sample-info.

Also oneliner to add 2vuy besides 2Vuy in modules/codec/rawvideo.c

Closes ticket #1237

I've checked it agains doing encoding with ffmpeg to pcm_s24le format
from apple-exported pcm_s24be format and both worked fine.

-- 
Ilkka Ollakka
Fortune's Real-Life Courtroom Quote #52:

Q:  What is your name?
A:  Ernestine McDowell.
Q:  And what is your marital status?
A:  Fair.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc_in24_endianess_fixx.diff
Type: text/x-patch
Size: 2574 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070703/3b99815d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070703/3b99815d/attachment.sig>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list