mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 21:12:12 +00:00
Minor cosmetics
Originally committed as revision 9791 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e4f42564bb
commit
d58d7ade78
@ -529,9 +529,8 @@ static int alac_decode_frame(AVCodecContext *avctx,
|
|||||||
predictor_coef_table[chan][i] = (int16_t)get_bits(&alac->gb, 16);
|
predictor_coef_table[chan][i] = (int16_t)get_bits(&alac->gb, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wasted_bytes) {
|
if (wasted_bytes)
|
||||||
av_log(avctx, AV_LOG_ERROR, "FIXME: unimplemented, unhandling of wasted_bytes\n");
|
av_log(avctx, AV_LOG_ERROR, "FIXME: unimplemented, unhandling of wasted_bytes\n");
|
||||||
}
|
|
||||||
|
|
||||||
for (chan = 0; chan < channels; chan++) {
|
for (chan = 0; chan < channels; chan++) {
|
||||||
bastardized_rice_decompress(alac,
|
bastardized_rice_decompress(alac,
|
||||||
@ -597,7 +596,7 @@ static int alac_decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch(alac->setinfo_sample_size) {
|
switch(alac->setinfo_sample_size) {
|
||||||
case 16: {
|
case 16:
|
||||||
if (channels == 2) {
|
if (channels == 2) {
|
||||||
deinterlace_16(alac->outputsamples_buffer,
|
deinterlace_16(alac->outputsamples_buffer,
|
||||||
(int16_t*)outbuffer,
|
(int16_t*)outbuffer,
|
||||||
@ -613,7 +612,6 @@ static int alac_decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
case 20:
|
case 20:
|
||||||
case 24:
|
case 24:
|
||||||
case 32:
|
case 32:
|
||||||
|
Loading…
Reference in New Issue
Block a user