You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avconv: initialize hwaccel_pix_fmt
Fixes an assertion failure in vdpau_get_buffer() when -hwaccel auto is used, but hwaccel init fails.
This commit is contained in:
@@ -528,6 +528,7 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic)
|
|||||||
if (!ist->hwaccel_device)
|
if (!ist->hwaccel_device)
|
||||||
exit_program(1);
|
exit_program(1);
|
||||||
}
|
}
|
||||||
|
ist->hwaccel_pix_fmt = AV_PIX_FMT_NONE;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case AVMEDIA_TYPE_AUDIO:
|
case AVMEDIA_TYPE_AUDIO:
|
||||||
|
Reference in New Issue
Block a user