mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-02 20:35:37 +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;
|
unsigned skip_samples, discard_padding;
|
||||||
int ret, len, size, start_pos;
|
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;
|
return ret;
|
||||||
size = avio_read(pb, header, FFMIN(MAX_IAMF_OBU_HEADER_SIZE, max_size));
|
size = avio_read(pb, header, FFMIN(MAX_IAMF_OBU_HEADER_SIZE, max_size));
|
||||||
if (size < 0)
|
if (size < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user