[SCM] libav/experimental: Correctly use output format stream index for bitstream filter when doing stream copy.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:11:37 UTC 2013
The following commit has been merged in the experimental branch:
commit 8b389f15cd6fb06bb43c277253837e13e3728f2b
Author: Andreas Öman <andreas at lonelycoder.com>
Date: Wed Jan 9 06:22:32 2008 +0000
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
diff --git a/ffmpeg.c b/ffmpeg.c
index 12db8a8..b69a84d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list