aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorRoman Fietze <roman.fietze@telemotive.de>2014-04-03 12:45:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-04 18:36:48 +0200
commit5bb3f8825584a319b25b430e4ece2fa5b2b47ff9 (patch)
tree249c8985708121835e335547da6528fb0b207694 /libavcodec/avcodec.h
parent0cc685e3add756a72fdd750802b3f7ceb3e7914f (diff)
downloadffmpeg-5bb3f8825584a319b25b430e4ece2fa5b2b47ff9.tar.gz
avcodec.h, avpacket.c: use const AVPacket pointers in copy functions
Signed-off-by: Roman Fietze <roman.fietze@telemotive.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e9163a73d0..09295e0691 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3602,14 +3602,14 @@ int av_dup_packet(AVPacket *pkt);
*
* @return 0 on success, negative AVERROR on fail
*/
-int av_copy_packet(AVPacket *dst, AVPacket *src);
+int av_copy_packet(AVPacket *dst, const AVPacket *src);
/**
* Copy packet side data
*
* @return 0 on success, negative AVERROR on fail
*/
-int av_copy_packet_side_data(AVPacket *dst, AVPacket *src);
+int av_copy_packet_side_data(AVPacket *dst, const AVPacket *src);
/**
* Free a packet.
@@ -3698,7 +3698,7 @@ void av_packet_free_side_data(AVPacket *pkt);
*
* @return 0 on success, a negative AVERROR on error.
*/
-int av_packet_ref(AVPacket *dst, AVPacket *src);
+int av_packet_ref(AVPacket *dst, const AVPacket *src);
/**
* Wipe the packet.