summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-01 17:08:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-01 17:16:08 +0200
commit758f929d212dd9feb7d40833e96c22018e4d4412 (patch)
treeda3ed1fb5aadf7575f78e2b8e968b1b951a73a03 /ffmpeg.h
parent00dcb1063110fc417f4e98b3dad3479ed9d35eef (diff)
ffmpeg: Fix choose_pixel_fmt() so it uses the correct encoding context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index b16181fe6b..a794255e6f 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -503,7 +503,7 @@ void assert_avoptions(AVDictionary *m);
int guess_input_channel_layout(InputStream *ist);
-enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodec *codec, enum AVPixelFormat target);
+enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *avctx, AVCodec *codec, enum AVPixelFormat target);
void choose_sample_fmt(AVStream *st, AVCodec *codec);
int configure_filtergraph(FilterGraph *fg);