diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-08 14:28:28 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-08 14:32:19 +0100 |
commit | 86159703f5719f4ca2c56d20792600637d1296a2 (patch) | |
tree | bbc75aeaf71d8349b4ca0fa9fe7dc7904b7fe65b /libavcodec/rawdec.c | |
parent | ff6b34009d4571ae0a4d130c0f8d27706a4c4026 (diff) | |
download | ffmpeg-streaming-86159703f5719f4ca2c56d20792600637d1296a2.zip ffmpeg-streaming-86159703f5719f4ca2c56d20792600637d1296a2.tar.gz |
ff_find_pix_fmt: return NONE for the "not found" case.
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index a4cb151..36b6b66 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -87,7 +87,7 @@ enum AVPixelFormat ff_find_pix_fmt(const PixelFormatTag *tags, unsigned int four return tags->pix_fmt; tags++; } - return AV_PIX_FMT_YUV420P; + return AV_PIX_FMT_NONE; } static av_cold int raw_init_decoder(AVCodecContext *avctx) |