* commit 'adb0e941c329a4778ade6dd0a326274472992f54': avpacket: Mark src pointer as constant See 5bb3f8825584a319b25b430e4ece2fa5b2b47ff9
Showing the changes to libavcodec/avcodec.h (1 of 2 files). Show all
Unified · Split
| @@ -4452,7 +4452,7 @@ AVPacket *av_packet_alloc(void); · 4451 unmodified lines | |||
| 4452 | * @see av_packet_alloc | 4452 | * @see av_packet_alloc |
| 4453 | * @see av_packet_ref | 4453 | * @see av_packet_ref |
| 4454 | */ | 4454 | */ |
| 4455 | AVPacket *av_packet_clone(AVPacket *src); | 4455 | AVPacket *av_packet_clone(const AVPacket *src); |
| 4456 | 4456 | ||
| 4457 | /** | 4457 | /** |
| 4458 | * Free the packet, if the packet is reference counted, it will be | 4458 | * Free the packet, if the packet is reference counted, it will be |