[FFmpeg-cvslog] ffmpeg_filter: use avcodec_find_best_pix_fmt_of_2()
Michael Niedermayer
git at videolan.org
Fri Aug 31 21:41:05 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug 31 20:18:24 2012 +0200| [704a5a06cbcd79b3da027fca9a677470b9239db9] | committer: Michael Niedermayer
ffmpeg_filter: use avcodec_find_best_pix_fmt_of_2()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=704a5a06cbcd79b3da027fca9a677470b9239db9
---
ffmpeg_filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index cae8229..3296576 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;
}
More information about the ffmpeg-cvslog
mailing list