[FFmpeg-cvslog] ffmpeg: fix do_streamcopy() so it copies side data too
Michael Niedermayer
git at videolan.org
Wed Nov 20 00:29:10 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 20 00:14:48 2013 +0100| [df87cfd798d102381b105c67cd9ae9a22a659cc7] | committer: Michael Niedermayer
ffmpeg: fix do_streamcopy() so it copies side data too
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df87cfd798d102381b105c67cd9ae9a22a659cc7
---
ffmpeg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ffmpeg.c b/ffmpeg.c
index b2cebb8..5eb395f 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1496,6 +1496,7 @@ static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p
opkt.data = pkt->data;
opkt.size = pkt->size;
}
+ av_copy_packet_side_data(&opkt, pkt);
if (ost->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (of->ctx->oformat->flags & AVFMT_RAWPICTURE)) {
/* store AVPicture in AVPacket, as expected by the output format */
More information about the ffmpeg-cvslog
mailing list