Hi!

Attached patch fixes ffmpeg -i output for high-bitrate vp9 files here.

Please comment, Carl Eugen
diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c
index 8312460..6b6e899 100644
--- a/libavcodec/libvpxdec.c
+++ b/libavcodec/libvpxdec.c
@@ -56,7 +56,9 @@ static av_cold int vpx_init(AVCodecContext *avctx,
         return AVERROR(EINVAL);
     }
 
+#if !defined(VPX_IMG_FMT_HIGHBITDEPTH)
     avctx->pix_fmt = AV_PIX_FMT_YUV420P;
+#endif
     return 0;
 }
 
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to