]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mp3dec.c
thpdemux: Check that packed sizes are within the files data size and filesize.
[ffmpeg] / libavformat / mp3dec.c
index 56311a5953d9e58a5a1c8cb49414e862c7ea9095..aa487878357d48e1e67c3c77af922279aa1ced75 100644 (file)
@@ -24,6 +24,7 @@
 #include "libavutil/dict.h"
 #include "libavutil/mathematics.h"
 #include "avformat.h"
+#include "internal.h"
 #include "id3v2.h"
 #include "id3v1.h"
 #include "libavcodec/mpegaudiodecheader.h"
@@ -147,7 +148,7 @@ static int mp3_read_header(AVFormatContext *s,
     st->start_time = 0;
 
     // lcm of all mp3 sample rates
-    av_set_pts_info(st, 64, 1, 14112000);
+    avpriv_set_pts_info(st, 64, 1, 14112000);
 
     off = avio_tell(s->pb);