[FFmpeg-cvslog] avcodec/flicvideo: use avpriv_request_sample()
Paul B Mahol
git at videolan.org
Thu Oct 24 17:33:48 CEST 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Oct 24 15:31:35 2013 +0000| [ea9632b7470e6117656ba0c3b15939bcb10d7ddf] | committer: Paul B Mahol
avcodec/flicvideo: use avpriv_request_sample()
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea9632b7470e6117656ba0c3b15939bcb10d7ddf
---
libavcodec/flicvideo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c
index 35b3b60..76a7976 100644
--- a/libavcodec/flicvideo.c
+++ b/libavcodec/flicvideo.c
@@ -134,7 +134,7 @@ static av_cold int flic_decode_init(AVCodecContext *avctx)
case 15 : avctx->pix_fmt = AV_PIX_FMT_RGB555; break;
case 16 : avctx->pix_fmt = AV_PIX_FMT_RGB565; break;
case 24 : avctx->pix_fmt = AV_PIX_FMT_BGR24; /* Supposedly BGR, but havent any files to test with */
- av_log(avctx, AV_LOG_ERROR, "24Bpp FLC/FLX is unsupported due to no test files.\n");
+ avpriv_request_sample(avctx, "24Bpp FLC/FLX");
return AVERROR_PATCHWELCOME;
default :
av_log(avctx, AV_LOG_ERROR, "Unknown FLC/FLX depth of %d Bpp is unsupported.\n",depth);
More information about the ffmpeg-cvslog
mailing list