mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
26d6c81dc6
commit
573b6b8a60
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue