• Frédéric Yhuel's avatar
    libmp4: minor bug fix · 4cfd989f
    Frédéric Yhuel authored
    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
libmp4.c 124 KB