]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/filmstripenc.c
bitstream: add get_bits64() to support reading more than 32 bits at once
[ffmpeg] / libavformat / filmstripenc.c
index d000c4f9f58237e91f078424b998b299c3f195d1..90d9a7685c6076703b58085eabe9b379422be294 100644 (file)
@@ -35,8 +35,8 @@ typedef struct {
 
 static int write_header(AVFormatContext *s)
 {
-    if (s->streams[0]->codec->pix_fmt != PIX_FMT_RGBA) {
-        av_log(s, AV_LOG_ERROR, "only PIX_FMT_RGBA is supported\n");
+    if (s->streams[0]->codec->pix_fmt != AV_PIX_FMT_RGBA) {
+        av_log(s, AV_LOG_ERROR, "only AV_PIX_FMT_RGBA is supported\n");
         return AVERROR_INVALIDDATA;
     }
     return 0;