mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libspeexdec: cosmetics: reindent
This commit is contained in:
parent
7eeaa6796b
commit
14bc60dbae
@ -125,13 +125,13 @@ static int libspeex_decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
/* decode a single frame */
|
||||
ret = speex_decode_int(s->dec_state, &s->bits, output);
|
||||
if (ret <= -2) {
|
||||
av_log(avctx, AV_LOG_ERROR, "Error decoding Speex frame.\n");
|
||||
return -1;
|
||||
}
|
||||
if (avctx->channels == 2)
|
||||
speex_decode_stereo_int(output, s->frame_size, &s->stereo);
|
||||
ret = speex_decode_int(s->dec_state, &s->bits, output);
|
||||
if (ret <= -2) {
|
||||
av_log(avctx, AV_LOG_ERROR, "Error decoding Speex frame.\n");
|
||||
return -1;
|
||||
}
|
||||
if (avctx->channels == 2)
|
||||
speex_decode_stereo_int(output, s->frame_size, &s->stereo);
|
||||
|
||||
*data_size = out_size;
|
||||
return consumed;
|
||||
|
Loading…
Reference in New Issue
Block a user