Signed-off-by: James Almer <jamrial@gmail.com>
#define IS_EMPTY(pkt) (!(pkt)->data)
-static int copy_packet_props(AVPacket *dst, AVPacket *src)
+static int copy_packet_props(AVPacket *dst, const AVPacket *src)
{
int ret = av_packet_copy_props(dst, src);
if (ret < 0)
return 0;
}
-static int extract_packet_props(AVCodecInternal *avci, AVPacket *pkt)
+static int extract_packet_props(AVCodecInternal *avci, const AVPacket *pkt)
{
AVPacket tmp = { 0 };
int ret = 0;