Fixes an assertion failure in vdpau_get_buffer() when -hwaccel auto is
used, but hwaccel init fails.
---
avconv_opt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/avconv_opt.c b/avconv_opt.c
index da8c6e7..d62d11f 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -528,6 +528,7 @@ static void add_input_streams(OptionsContext *o,
AVFormatContext *ic)
if (!ist->hwaccel_device)
exit_program(1);
}
+ ist->hwaccel_pix_fmt = AV_PIX_FMT_NONE;
break;
case AVMEDIA_TYPE_AUDIO:
--
1.7.10.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel