diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-31 20:18:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-31 21:35:39 +0200 |
commit | 704a5a06cbcd79b3da027fca9a677470b9239db9 (patch) | |
tree | 90790c0abf41c64b21823e5a48cd79238f8b41ef /ffmpeg_filter.c | |
parent | 2a54ae9df8cbc1717b3929222ac75f384e2ff240 (diff) | |
download | ffmpeg-704a5a06cbcd79b3da027fca9a677470b9239db9.tar.gz |
ffmpeg_filter: use avcodec_find_best_pix_fmt_of_2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_filter.c')
-rw-r--r-- | ffmpeg_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c index cae82292aa..3296576a73 100644 --- a/ffmpeg_filter.c +++ b/ffmpeg_filter.c @@ -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; } |