mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/iamf_reader: split "if ((ret = ...) < 0)" line
Cosmetic change. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
0ec8f3c55a
commit
2e16285fe8
@ -276,7 +276,8 @@ int ff_iamf_read_packet(AVFormatContext *s, IAMFDemuxContext *c,
|
||||
unsigned skip_samples, discard_padding;
|
||||
int ret, len, size, start_pos;
|
||||
|
||||
if ((ret = ffio_ensure_seekback(pb, FFMIN(MAX_IAMF_OBU_HEADER_SIZE, max_size))) < 0)
|
||||
ret = ffio_ensure_seekback(pb, FFMIN(MAX_IAMF_OBU_HEADER_SIZE, max_size));
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
size = avio_read(pb, header, FFMIN(MAX_IAMF_OBU_HEADER_SIZE, max_size));
|
||||
if (size < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user