1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-16 08:38:24 +02:00

lavf: make av_set_pts_info private.

It's supposed to be called only from (de)muxers.
This commit is contained in:
Anton Khirnov
2011-11-29 19:28:15 +01:00
parent 06d7325ab1
commit c3f9ebf743
139 changed files with 338 additions and 205 deletions
+2 -1
View File
@@ -20,6 +20,7 @@
*/
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
@@ -396,7 +397,7 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap)
}
}
av_set_pts_info(st, 32, 1, 1000);
avpriv_set_pts_info(st, 32, 1, 1000);
ctx->mutex = CreateMutex(NULL, 0, NULL);
if(!ctx->mutex) {