]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/fbdev.c
mpeg12dec: reset first_field with picture_structure changes.
[ffmpeg] / libavdevice / fbdev.c
index fdd946d598b1fdcc226d07b7e67de633d177bfa0..ee5ecee89dfbb72a15d865dfe000f8cd5de2991a 100644 (file)
@@ -43,6 +43,7 @@
 #include "libavutil/parseutils.h"
 #include "libavutil/pixdesc.h"
 #include "avdevice.h"
+#include "libavformat/internal.h"
 
 struct rgb_pixfmt_map_entry {
     int bits_per_pixel;
@@ -110,7 +111,7 @@ av_cold static int fbdev_read_header(AVFormatContext *avctx,
 
     if (!(st = avformat_new_stream(avctx, NULL)))
         return AVERROR(ENOMEM);
-    av_set_pts_info(st, 64, 1, 1000000); /* 64 bits pts in microseconds */
+    avpriv_set_pts_info(st, 64, 1, 1000000); /* 64 bits pts in microseconds */
 
     /* NONBLOCK is ignored by the fbdev driver, only set for consistency */
     if (avctx->flags & AVFMT_FLAG_NONBLOCK)