You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
tta: remove pointless braces
This commit is contained in:
@@ -279,11 +279,10 @@ static int tta_decode_frame(AVCodecContext *avctx,
|
|||||||
int buf_size = avpkt->size;
|
int buf_size = avpkt->size;
|
||||||
TTAContext *s = avctx->priv_data;
|
TTAContext *s = avctx->priv_data;
|
||||||
int i;
|
int i;
|
||||||
|
int cur_chan = 0, framelen = s->frame_length;
|
||||||
|
int32_t *p;
|
||||||
|
|
||||||
init_get_bits(&s->gb, buf, buf_size*8);
|
init_get_bits(&s->gb, buf, buf_size*8);
|
||||||
{
|
|
||||||
int cur_chan = 0, framelen = s->frame_length;
|
|
||||||
int32_t *p;
|
|
||||||
|
|
||||||
// FIXME: seeking
|
// FIXME: seeking
|
||||||
s->total_frames--;
|
s->total_frames--;
|
||||||
@@ -395,7 +394,6 @@ static int tta_decode_frame(AVCodecContext *avctx,
|
|||||||
default:
|
default:
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "Error, only 16bit samples supported!\n");
|
av_log(s->avctx, AV_LOG_ERROR, "Error, only 16bit samples supported!\n");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return buf_size;
|
return buf_size;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user