Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-31 22:18:24 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-08-31 23:35:39 +0400
commit704a5a06cbcd79b3da027fca9a677470b9239db9 (patch)
tree90790c0abf41c64b21823e5a48cd79238f8b41ef /ffmpeg_filter.c
parent2a54ae9df8cbc1717b3929222ac75f384e2ff240 (diff)
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.c2
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;
}