diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-20 00:14:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-20 00:23:23 +0100 |
commit | df87cfd798d102381b105c67cd9ae9a22a659cc7 (patch) | |
tree | 59c0c94c84598a0ee548b80c9e4a905043b761e4 /ffmpeg.c | |
parent | 05493c6e724a04ac6850814ed49551845e8b884e (diff) | |
download | ffmpeg-df87cfd798d102381b105c67cd9ae9a22a659cc7.tar.gz |
ffmpeg: fix do_streamcopy() so it copies side data too
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |