]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mpegenc.c
sbgdec: replace EOVERFLOW with ENOMEM.
[ffmpeg] / libavformat / mpegenc.c
index 9e19a3d5e47ef3e60a5aa333db6390e50a09e825..01ee004f450c126483c87670a433733d188c4989 100644 (file)
@@ -25,6 +25,7 @@
 #include "libavutil/opt.h"
 #include "libavcodec/put_bits.h"
 #include "avformat.h"
+#include "internal.h"
 #include "mpeg.h"
 
 #define MAX_PAYLOAD_SIZE 4096
@@ -336,7 +337,7 @@ static int mpeg_mux_init(AVFormatContext *ctx)
             goto fail;
         st->priv_data = stream;
 
-        av_set_pts_info(st, 64, 1, 90000);
+        avpriv_set_pts_info(st, 64, 1, 90000);
 
         switch(st->codec->codec_type) {
         case AVMEDIA_TYPE_AUDIO: