]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mp3dec.c
ffplay: force video refresh if the window is resized or damaged
[ffmpeg] / libavformat / mp3dec.c
index aa487878357d48e1e67c3c77af922279aa1ced75..f3079e3116ce3c5fac8121e626b4936c1440a225 100644 (file)
@@ -132,8 +132,7 @@ static int mp3_parse_vbr_tags(AVFormatContext *s, AVStream *st, int64_t base)
     return 0;
 }
 
-static int mp3_read_header(AVFormatContext *s,
-                           AVFormatParameters *ap)
+static int mp3_read_header(AVFormatContext *s)
 {
     AVStream *st;
     int64_t off;
@@ -150,6 +149,7 @@ static int mp3_read_header(AVFormatContext *s,
     // lcm of all mp3 sample rates
     avpriv_set_pts_info(st, 64, 1, 14112000);
 
+    s->pb->maxsize = -1;
     off = avio_tell(s->pb);
 
     if (!av_dict_get(s->metadata, "", NULL, AV_DICT_IGNORE_SUFFIX))