Commit 3c21b18b authored by andoma's avatar andoma

Correctly use output format stream index for bitstream filter when doing stream copy.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11480 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 06d4c94e
......@@ -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);
......
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