Browse Source

avconv: initialize hwaccel_pix_fmt

Fixes an assertion failure in vdpau_get_buffer() when -hwaccel auto is
used, but hwaccel init fails.
tags/n2.2-rc1
Anton Khirnov 11 years ago
parent
commit
c255f0b001
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      avconv_opt.c

+ 1
- 0
avconv_opt.c View File

@@ -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:


Loading…
Cancel
Save