History

avformat/iamf_reader: split "if ((ret = ...) < 0)" line

Cosmetic change.

James Almer committed 2 years ago

Commit 2e162851 parent 0ec8f3c1 file · +2 −1Browse files

Unified · Split

libavformat/iamf_reader.c+2−1
@@ -276,7 +276,8 @@ int ff_iamf_read_packet(AVFormatContext *s, IAMFDemuxContext *c, · 275 unmodified lines
276276 unsigned skip_samples, discard_padding;
277277 int ret, len, size, start_pos;
278278
279− if ((ret = ffio_ensure_seekback(pb, FFMIN(MAX_IAMF_OBU_HEADER_SIZE, max_size))) < 0)
279+ ret = ffio_ensure_seekback(pb, FFMIN(MAX_IAMF_OBU_HEADER_SIZE, max_size));
280+ if (ret < 0)
280281 return ret;
281282 size = avio_read(pb, header, FFMIN(MAX_IAMF_OBU_HEADER_SIZE, max_size));
282283 if (size < 0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t