Browse Source

Merge commit 'adb0e941c329a4778ade6dd0a326274472992f54'

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

See 5bb3f88255

Merged-by: Clément Bœsch <u@pkh.me>
tags/n3.3
Clément Bœsch 9 years ago
parent
commit
507a85b93c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavcodec/avcodec.h
  2. +1
    -1
      libavcodec/avpacket.c

+ 1
- 1
libavcodec/avcodec.h View File

@@ -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


+ 1
- 1
libavcodec/avpacket.c View File

@@ -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();



Loading…
Cancel
Save