Commit 9d24a536 authored by Nicolas George's avatar Nicolas George

lavf/concatdec: reindent after last commit.

parent b24d6c53
...@@ -406,17 +406,16 @@ static int concat_read_packet(AVFormatContext *avf, AVPacket *pkt) ...@@ -406,17 +406,16 @@ static int concat_read_packet(AVFormatContext *avf, AVPacket *pkt)
} }
if (ret < 0) if (ret < 0)
return ret; return ret;
/* TODO reindent */ if ((ret = match_streams(avf)) < 0) {
if ((ret = match_streams(avf)) < 0) { av_packet_unref(pkt);
av_packet_unref(pkt); return ret;
return ret; }
} cs = &cat->cur_file->streams[pkt->stream_index];
cs = &cat->cur_file->streams[pkt->stream_index]; if (cs->out_stream_index < 0) {
if (cs->out_stream_index < 0) { av_packet_unref(pkt);
av_packet_unref(pkt); continue;
continue; }
} pkt->stream_index = cs->out_stream_index;
pkt->stream_index = cs->out_stream_index;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment