]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/sunrast.c
sonic: mark as experimental
[ffmpeg] / libavcodec / sunrast.c
index 7137621ece70cc00e078a38e6b26cb53c9a69231..014c96d1836202b2172506d5d5405a41b8f08d7f 100644 (file)
@@ -105,7 +105,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, void *data,
             avctx->pix_fmt = (type == RT_FORMAT_RGB) ? PIX_FMT_RGB24 : PIX_FMT_BGR24;
             break;
         case 32:
-            avctx->pix_fmt = (type == RT_FORMAT_RGB) ? PIX_FMT_RGB0 : PIX_FMT_BGR0;
+            avctx->pix_fmt = (type == RT_FORMAT_RGB) ? PIX_FMT_0RGB : PIX_FMT_0BGR;
             break;
         default:
             av_log(avctx, AV_LOG_ERROR, "invalid depth\n");