vlc | branch: master | Francois Cartegnie <[email protected]> | Wed Nov 14 11:01:30 2018 +0100| [398e1b7cc5b091387c481d0b07a8517a4f5ac615] | committer: Francois Cartegnie
codec: avcodec: disable rawvideo reversed lookup can't match masks > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=398e1b7cc5b091387c481d0b07a8517a4f5ac615 --- modules/codec/avcodec/avcodec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec/avcodec.c index 0e08c11fc6..912d1b667e 100644 --- a/modules/codec/avcodec/avcodec.c +++ b/modules/codec/avcodec/avcodec.c @@ -256,7 +256,8 @@ AVCodecContext *ffmpeg_AllocContext( decoder_t *p_dec, /* *** determine codec type *** */ if( !GetFfmpegCodec( p_dec->fmt_in.i_cat, p_dec->fmt_in.i_codec, - &i_codec_id, &psz_namecodec ) ) + &i_codec_id, &psz_namecodec ) || + i_codec_id == AV_CODEC_ID_RAWVIDEO ) return NULL; msg_Dbg( p_dec, "using %s %s", AVPROVIDER(LIBAVCODEC), LIBAVCODEC_IDENT ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
