diff options
author | Roman Fietze <roman.fietze@telemotive.de> | 2014-04-03 12:45:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-04 18:36:48 +0200 |
commit | 5bb3f8825584a319b25b430e4ece2fa5b2b47ff9 (patch) | |
tree | 249c8985708121835e335547da6528fb0b207694 /libavcodec/avcodec.h | |
parent | 0cc685e3add756a72fdd750802b3f7ceb3e7914f (diff) | |
download | ffmpeg-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.h | 6 |
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. |