Commit 1d4e9f2e authored by Laurent Aimar's avatar Laurent Aimar

* mp4: fix for alaw/ulaw. Clever people that designed .mov decided that

the demuxer has to ask the parameters to the decoder, instead of just
using the ones in the file.
parent 1f8cb7bb
...@@ -1055,6 +1055,10 @@ static int TrackCreateES ( demux_t *p_demux, ...@@ -1055,6 +1055,10 @@ static int TrackCreateES ( demux_t *p_demux,
p_soun->i_bytes_per_frame = 2 * p_soun->i_channelcount; p_soun->i_bytes_per_frame = 2 * p_soun->i_channelcount;
p_soun->i_bytes_per_sample = 2; p_soun->i_bytes_per_sample = 2;
break; break;
case VLC_FOURCC( 'a', 'l', 'a', 'w' ):
case VLC_FOURCC( 'u', 'l', 'a', 'w' ):
p_soun->i_samplesize = 8;
break;
default: default:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment