Browse Source

lavf/concatdec: reindent after last commit.

tags/n2.3
Nicolas George 11 years ago
parent
commit
9d24a536a3
1 changed files with 10 additions and 11 deletions
  1. +10
    -11
      libavformat/concatdec.c

+ 10
- 11
libavformat/concatdec.c View File

@@ -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) {
av_packet_unref(pkt);
return ret;
}
cs = &cat->cur_file->streams[pkt->stream_index];
if (cs->out_stream_index < 0) {
av_packet_unref(pkt);
continue;
}
pkt->stream_index = cs->out_stream_index;
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);
continue;
}
pkt->stream_index = cs->out_stream_index;
break; break;
} }




Loading…
Cancel
Save