Opened 14 years ago

Last modified 13 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 phoudoin)

Instead of rejecting a file that it can't handle, FFMPEG plugin AVFormatReader crash in Sniff() cleanup.

Change History (6)

comment:1 by yourpalal, 14 years ago

This crash happens when creating a BAlert in MediaConverterApp::RefsReceived(). This is not the same as issue as #6497.

comment:2 by Barrett, 14 years ago

i'll have free time in the next weekend...i'll work on this ticket if no one is interested : )

in reply to:  2 comment:3 by yourpalal, 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 Barrett, 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.

by Barrett, 14 years ago

Attachment: crashffmpeg.png added

ffmpeg plugin crash

comment:5 by phoudoin, 14 years ago

Component: Applications/MediaConverterAudio & Video/Codecs
Description: modified (diff)
Keywords: ffmpeg media codec sniff added
Owner: changed from nobody to stippi
Status: newassigned
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.

Note: See TracTickets for help on using tickets.