diff options
author | Andreas Öman <andreas@lonelycoder.com> | 2008-01-09 06:22:32 +0000 |
---|---|---|
committer | Andreas Öman <andreas@lonelycoder.com> | 2008-01-09 06:22:32 +0000 |
commit | 8b389f15cd6fb06bb43c277253837e13e3728f2b (patch) | |
tree | 24c8c1a4af4ceeaaa8393a6574c3e5d100fdeea9 /ffmpeg.c | |
parent | 90527811d7db0da5d770235261c4b718b0869a99 (diff) | |
download | ffmpeg-8b389f15cd6fb06bb43c277253837e13e3728f2b.tar.gz |
Correctly use output format stream index for bitstream filter when doing stream copy.
Originally committed as revision 11480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1266,7 +1266,7 @@ static int output_packet(AVInputStream *ist, int ist_index, if(av_parser_change(ist->st->parser, ost->st->codec, &opkt.data, &opkt.size, data_buf, data_size, pkt->flags & PKT_FLAG_KEY)) opkt.destruct= av_destruct_packet; - write_frame(os, &opkt, ost->st->codec, bitstream_filters[ost->file_index][pkt->stream_index]); + write_frame(os, &opkt, ost->st->codec, bitstream_filters[ost->file_index][opkt.stream_index]); ost->st->codec->frame_number++; ost->frame_number++; av_free_packet(&opkt); |