Commit 507a85b9 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'adb0e941'

* commit 'adb0e941':
  avpacket: Mark src pointer as constant

See 5bb3f882Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents a3fc5f53 adb0e941
......@@ -4452,7 +4452,7 @@ AVPacket *av_packet_alloc(void);
* @see av_packet_alloc
* @see av_packet_ref
*/
AVPacket *av_packet_clone(AVPacket *src);
AVPacket *av_packet_clone(const AVPacket *src);
/**
* Free the packet, if the packet is reference counted, it will be
......
......@@ -614,7 +614,7 @@ fail:
return ret;
}
AVPacket *av_packet_clone(AVPacket *src)
AVPacket *av_packet_clone(const AVPacket *src)
{
AVPacket *ret = av_packet_alloc();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment