aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-20 00:14:06 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-20 00:23:23 +0100
commit05493c6e724a04ac6850814ed49551845e8b884e (patch)
treeb73361306eb2603669f1003ef3a03d5b0bfc3bc1 /libavcodec
parentf95b5d2a114e019dd8921ddbce6b5dd71190dc72 (diff)
downloadffmpeg-05493c6e724a04ac6850814ed49551845e8b884e.tar.gz
avcodec/avpacket: correctly set the number of side data elements in av_copy_packet_side_data()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avpacket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c
index d9cfb38e24..bce3a5890b 100644
--- a/libavcodec/avpacket.c
+++ b/libavcodec/avpacket.c
@@ -237,6 +237,7 @@ int av_copy_packet_side_data(AVPacket *pkt, AVPacket *src)
pkt->side_data[i].type = src->side_data[i].type;
}
}
+ pkt->side_data_elems = src->side_data_elems;
return 0;
failed_alloc: