You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf/concatdec: check match_streams() return value.
This commit is contained in:
@@ -369,7 +369,10 @@ static int concat_read_packet(AVFormatContext *avf, AVPacket *pkt)
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
if (cat->match_streams) {
|
||||
match_streams(avf);
|
||||
if ((ret = match_streams(avf)) < 0) {
|
||||
av_packet_unref(pkt);
|
||||
return ret;
|
||||
}
|
||||
cs = &cat->cur_file->streams[pkt->stream_index];
|
||||
if (cs->out_stream_index < 0) {
|
||||
av_packet_unref(pkt);
|
||||
|
Reference in New Issue
Block a user