]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/flic.c
lavf/rtp_h261: Replace restrict with av_restrict.
[ffmpeg] / libavformat / flic.c
index f5e9e84c47e04f700ef15fd7239a18e4460a18d6..bef70c188aa920931a1d9a874af4eca1c45b835e 100644 (file)
@@ -175,7 +175,7 @@ static int flic_read_header(AVFormatContext *s)
         avio_seek(pb, 12, SEEK_SET);
 
         /* send over abbreviated FLIC header chunk */
-        av_free(st->codec->extradata);
+        av_freep(&st->codec->extradata);
         if (ff_alloc_extradata(st->codec, 12))
             return AVERROR(ENOMEM);
         memcpy(st->codec->extradata, header, 12);