]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/filmstripdec.c
nut: fix int32 overflow
[ffmpeg] / libavformat / filmstripdec.c
index 0d02818fbff5f0c9178b65fb1e2fd18e8d30e06e..b41fdb73e5392ea3fa0a2c2a3542842773e23765 100644 (file)
@@ -62,7 +62,7 @@ static int read_header(AVFormatContext *s)
     avio_skip(pb, 2);
     st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
     st->codec->codec_id   = AV_CODEC_ID_RAWVIDEO;
-    st->codec->pix_fmt    = PIX_FMT_RGBA;
+    st->codec->pix_fmt    = AV_PIX_FMT_RGBA;
     st->codec->codec_tag  = 0; /* no fourcc */
     st->codec->width      = avio_rb16(pb);
     st->codec->height     = avio_rb16(pb);