* 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>
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",
}
*got_frame = 1;
- return 0;
+ return avpkt->size;
}
AVCodec ff_screenpresso_decoder = {