[FFmpeg-devel] [PATCH] Const src in av_packet_clone declaration

Andriy Lysnevych andriy.lysnevych at gmail.com
Fri May 13 00:08:45 CEST 2016

> That's a change that could break source-compatibility with C++, I don't
think it can be made so easily.

I do not agree. It extends function so it can take as argument both const
and non-const packets.

Actually I discovered this defect when I was not able to clone const packet
in C++ project.

More information about the ffmpeg-devel mailing list