summaryrefslogtreecommitdiff
path: root/libavcodec/libxvidff.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-16 21:32:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-16 21:51:28 +0200
commit74dbb5388e356c085b2f426a5533c08cdc163488 (patch)
treeb93f0769155db5cfa26f622428a50e8eac9ab38c /libavcodec/libxvidff.c
parent482aabd59a9da807e88fc7796b0764290b62cf11 (diff)
av_tempfile: Pass int log_offset, void *log_ctx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libxvidff.c')
-rw-r--r--libavcodec/libxvidff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libxvidff.c b/libavcodec/libxvidff.c
index ba950edc39..f7aa7fd44e 100644
--- a/libavcodec/libxvidff.c
+++ b/libavcodec/libxvidff.c
@@ -232,7 +232,7 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx) {
rc2pass2.version = XVID_VERSION;
rc2pass2.bitrate = avctx->bit_rate;
- fd = av_tempfile("xvidff.", &(x->twopassfile));
+ fd = av_tempfile("xvidff.", &(x->twopassfile), 0, avctx);
if( fd == -1 ) {
av_log(avctx, AV_LOG_ERROR,
"Xvid: Cannot write 2-pass pipe\n");