]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/screenpresso.c
vp9_mc_template: limit assert to SCALED == 0
[ffmpeg] / libavcodec / screenpresso.c
index 34efb03867db25324c6a3e693f93b41c6267b5d4..2fadca46b7e3a7b7b648b3b5e0aa94389db566aa 100644 (file)
@@ -30,7 +30,7 @@
  * rebuilt frame (not the reference), and since there is no coordinate system
  * they contain exactly as many pixel as the keyframe.
  *
- * Supports: BGRA, BGR24, RGB555
+ * Supports: BGR0, BGR24, RGB555
  */
 
 #include <stdint.h>
@@ -129,7 +129,7 @@ static int screenpresso_decode_frame(AVCodecContext *avctx, void *data,
         avctx->pix_fmt = AV_PIX_FMT_BGR24;
         break;
     case 4:
-        avctx->pix_fmt = AV_PIX_FMT_BGRA;
+        avctx->pix_fmt = AV_PIX_FMT_BGR0;
         break;
     default:
         av_log(avctx, AV_LOG_ERROR, "Invalid bits per pixel value (%d)\n",