#10289 closed defect (fixed)

Provided ogg failure fails header parsing

Reported by: Ridley Combs Owned by:
Priority: normal Component: avformat
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

When attempting to open the attached ogg file, ogg_read_header gives AVERROR_INVALIDDATA. The same file plays fine using VLC's demuxer.

% ffprobe file.ogg -v trace
ffprobe version N-110115-gb6138633cd Copyright (c) 2007-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --extra-cflags='-I/opt/homebrew/include -I/opt/homebrew/openssl@1.1/include -mmacosx-version-min=10.9 -Wunguarded-availability' --extra-ldflags='-L/opt/homebrew/lib -L/opt/homebrew/lib -Wl,-dead_strip' --extra-libs=-liconv --enable-debug --disable-stripping --extra-cflags=-fno-stack-check --cc=clang --cxx=clang++ --enable-static --enable-shared --enable-gpl --enable-libilbc --enable-chromaprint --enable-libx265 --enable-libopus --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libzvbi --enable-libmodplug --enable-opencl --enable-opengl --enable-sdl --enable-postproc --enable-libzimg --enable-libxml2 --enable-libdav1d --enable-librav1e --prefix=/opt/homebrew/Cellar/ffmpeg/HEAD --samples=/Users/rcombs/Documents/fate-suite --enable-version3 --enable-libfdk-aac --enable-nonfree --enable-libglslang --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libaribcaption
  libavutil      58.  5.100 / 58.  5.100
  libavcodec     60.  7.100 / 60.  7.100
  libavformat    60.  4.100 / 60.  4.100
  libavdevice    60.  2.100 / 60.  2.100
  libavfilter     9.  5.100 /  9.  5.100
  libswscale      7.  2.100 /  7.  2.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
[NULL @ 0x13ce04ea0] Opening 'file.ogg' for reading
[file @ 0x600001efc180] Setting default whitelist 'file,crypto,data'
Probing mp3 score:1 size:2048
Probing ogg score:100 size:2048
[ogg @ 0x13ce04ea0] Format ogg probed with size=2048 and score=100
[ogg @ 0x13ce04ea0] ogg_packet: curidx=-1
[ogg @ 0x13ce04ea0] ogg_packet: idx=0 pstart=0 psize=0 segp=0 nsegs=1
[ogg @ 0x13ce04ea0] ogg_packet: curidx=-1
[ogg @ 0x13ce04ea0] ogg_packet: idx=0 pstart=30 psize=0 segp=0 nsegs=27
[ogg @ 0x13ce04ea0] 2048 bytes of comment header remain
[ogg @ 0x13ce04ea0] ogg_packet: curidx=0
[ogg @ 0x13ce04ea0] ogg_packet: idx=0 pstart=2475 psize=0 segp=10 nsegs=27
[ogg @ 0x13ce04ea0] ogg_packet: curidx=-1
[ogg @ 0x13ce04ea0] ogg_packet: idx=0 pstart=6615 psize=0 segp=0 nsegs=30
[ogg @ 0x13ce04ea0] Header processing failed: Invalid data found when processing input
[AVIOContext @ 0x13ce05110] Statistics: 32768 bytes read, 0 seeks
file.ogg: Invalid data found when processing input

Attachments (1)

file.ogg (2.0 MB ) - added by Ridley Combs 13 months ago.
Sample file that produces the issue

Download all attachments as: .zip

Change History (2)

by Ridley Combs, 13 months ago

Attachment: file.ogg added

Sample file that produces the issue

comment:1 by Ridley Combs, 13 months ago

Analyzed by developer: set
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.