#include "avformat.h"
#include "internal.h"
-static int adp_probe(AVProbeData *p)
+static int adp_probe(const AVProbeData *p)
{
int i, changes = 0;
uint8_t last = 0;
if (ret != size) {
if (ret < 0) {
- av_packet_unref(pkt);
return ret;
}
av_shrink_packet(pkt, ret);