X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fh264dec.c;h=199e87fbfae9200296a0ff66ef6842049bdd82f3;hb=4390573c44a47e0bed4790a45934006df7ee1e2f;hp=85d7163c96d0595c377721d17d6b4902ec14ef02;hpb=d6b62ce1aced9e2456582870382f384581cc7cbb;p=ffmpeg diff --git a/libavformat/h264dec.c b/libavformat/h264dec.c index 85d7163c96d..199e87fbfae 100644 --- a/libavformat/h264dec.c +++ b/libavformat/h264dec.c @@ -28,7 +28,7 @@ #define MAX_SPS_COUNT 32 #define MAX_PPS_COUNT 256 -static int h264_probe(AVProbeData *p) +static int h264_probe(const AVProbeData *p) { uint32_t code = -1; int sps = 0, pps = 0, idr = 0, res = 0, sli = 0;