Opened 14 years ago
Last modified 14 years ago
#6595 closed bug
ffmpeg plugin's AVFormatReader crashes if given a file it can't handle. — at Version 5
Reported by: | scottmc | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Audio & Video/Codecs | Version: | R1/Development |
Keywords: | ffmpeg media codec sniff | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Instead of rejecting a file that it can't handle, FFMPEG plugin AVFormatReader crash in Sniff() cleanup.
Change History (6)
follow-up: 3 comment:2 by , 14 years ago
i'll have free time in the next weekend...i'll work on this ticket if no one is interested : )
comment:3 by , 14 years ago
Replying to Barrett:
i'll have free time in the next weekend...i'll work on this ticket if no one is interested : )
Sounds good, thanks!
comment:4 by , 14 years ago
Before of the BAlert problem there's a blocking bug on the ffmpeg plugin, this happens when is passed a file that it can't handle. Removing the ffmpeg plugin "solve" the problem. I don't know what is the best way to fix that...maybe checking if AVFormatReader::Reader::fSource is a media file through BNode? i think it need a look by a more experienced developer to get me on the right way.
comment:5 by , 14 years ago
Component: | Applications/MediaConverter → Audio & Video/Codecs |
---|---|
Description: | modified (diff) |
Keywords: | ffmpeg media codec sniff added |
Owner: | changed from | to
Status: | new → assigned |
Summary: | MediaConverter crashes if given a file it can't handle. → ffmpeg plugin's AVFormatReader crashes if given a file it can't handle. |
Reproduced here. Seems, indeed, not a MediaConverter issue but a crashing condition in ffmpeg's AVFormatReader::Sniff() cleanup on unknown file.