forked from FFmpeg/FFmpeg
10l: my last commit broke compilation and introduced warnings
Originally committed as revision 12883 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
db08882e74
commit
4c63c597d8
1 changed files with 3 additions and 5 deletions
|
@ -114,18 +114,16 @@ static int alac_set_info(ALACContext *alac)
|
||||||
|
|
||||||
/* buffer size / 2 ? */
|
/* buffer size / 2 ? */
|
||||||
alac->setinfo_max_samples_per_frame = bytestream_get_be32(&ptr);
|
alac->setinfo_max_samples_per_frame = bytestream_get_be32(&ptr);
|
||||||
*ptr++; /* ??? */
|
ptr++; /* ??? */
|
||||||
alac->setinfo_sample_size = *ptr++;
|
alac->setinfo_sample_size = *ptr++;
|
||||||
alac->setinfo_rice_historymult = *ptr++;
|
alac->setinfo_rice_historymult = *ptr++;
|
||||||
alac->setinfo_rice_initialhistory = *ptr++;
|
alac->setinfo_rice_initialhistory = *ptr++;
|
||||||
alac->setinfo_rice_kmodifier = *ptr++;
|
alac->setinfo_rice_kmodifier = *ptr++;
|
||||||
*ptr++; /* channels? */
|
ptr++; /* channels? */
|
||||||
bytestream_get_be16(&ptr); /* ??? */
|
bytestream_get_be16(&ptr); /* ??? */
|
||||||
bytestream_get_be32(&ptr); /* max coded frame size */
|
bytestream_get_be32(&ptr); /* max coded frame size */
|
||||||
bytestream_get_be32(&ptr); /* bitrate ? */
|
bytestream_get_be32(&ptr); /* bitrate ? */
|
||||||
|
bytestream_get_be32(&ptr); /* samplerate */
|
||||||
/* samplerate */
|
|
||||||
alac->setinfo_8a_rate = bytestream_get_be32(&ptr);
|
|
||||||
|
|
||||||
allocate_buffers(alac);
|
allocate_buffers(alac);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue