Revision ddd94932 libavformat/oggdec.c

View differences:

libavformat/oggdec.c
450 450
    size = url_fsize(s->pb);
451 451
    if(size < 0)
452 452
        return 0;
453
    end = size > MAX_PAGE_SIZE? size - MAX_PAGE_SIZE: size;
453
    end = size > MAX_PAGE_SIZE? size - MAX_PAGE_SIZE: 0;
454 454

  
455 455
    ogg_save (s);
456 456
    url_fseek (s->pb, end, SEEK_SET);

Also available in: Unified diff