Commit 704a5a06 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg_filter: use avcodec_find_best_pix_fmt_of_2()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2a54ae9d
......@@ -48,7 +48,7 @@ enum PixelFormat choose_pixel_fmt(AVStream *st, AVCodec *codec, enum PixelFormat
}
}
for (; *p != PIX_FMT_NONE; p++) {
best= avcodec_find_best_pix_fmt2(best, *p, target, has_alpha, NULL);
best= avcodec_find_best_pix_fmt_of_2(best, *p, target, has_alpha, NULL);
if (*p == target)
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment