You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/utils: propagate return value of ff_format_io_close in ff_format_shift_data
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -2085,7 +2085,7 @@ int ff_format_shift_data(AVFormatContext *s, int64_t read_start, int shift_size)
|
||||
avio_write(s->pb, read_buf[read_buf_id], n);
|
||||
pos += n;
|
||||
} while (pos < pos_end);
|
||||
ff_format_io_close(s, &read_pb);
|
||||
ret = ff_format_io_close(s, &read_pb);
|
||||
|
||||
end:
|
||||
av_free(buf);
|
||||
|
Reference in New Issue
Block a user