]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libxvid.c
vc2enc: add non-experimental support for all video formats from spec
[ffmpeg] / libavcodec / libxvid.c
index 6fd4e162c1f1b8fe71cbd74e6b6a9a09cc2a7d4c..76e725e883a7fb82dce5412f98622a1c1c645fca 100644 (file)
@@ -541,7 +541,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
         rc2pass2.version = XVID_VERSION;
         rc2pass2.bitrate = avctx->bit_rate;
 
-        fd = av_tempfile("xvidff.", &x->twopassfile, 0, avctx);
+        fd = avpriv_tempfile("xvidff.", &x->twopassfile, 0, avctx);
         if (fd < 0) {
             av_log(avctx, AV_LOG_ERROR, "Xvid: Cannot write 2-pass pipe\n");
             return fd;