Skip to content
  • yhuelf's avatar
    libmp4: minor bug fix · 4cfd989f
    yhuelf authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    
    
    If we read all the stream but n bytes, 0 < n < 8, there's no point to
    try and read these n missing bytes.
    
    If we try to continue the parsing, MP4_ReadBoxCommon() would return 0,
    and VLC would fall back to avformat's demux while it is not necessary.
    
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    4cfd989f