projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a54ae9
)
ffmpeg_filter: use avcodec_find_best_pix_fmt_of_2()
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 31 Aug 2012 18:18:24 +0000
(20:18 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 31 Aug 2012 19:35:39 +0000
(21:35 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_filter.c
patch
|
blob
|
history
diff --git
a/ffmpeg_filter.c
b/ffmpeg_filter.c
index
cae8229
..
3296576
100644
(file)
--- 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;
}