[FFmpeg-devel] [PATCH] fix crash on incorrectly framed STR

Alexander Strange astrange
Wed Jan 23 22:11:10 CET 2008


http://samples.mplayerhq.hu/game-formats/psx-str/logo.iki

This file doesn't seem like a real STR; the video is some other codec  
and it mixes audio and video CD sectors together. This is against the  
official spec and crashes ffmpeg when it tries to demux it. The  
attached patch fixes the crash at the cost of not playing back the  
audio (which older revisions would do with -vn). Since I've never seen  
any other file like this, I think that's safe for now.

I filed this as https://roundup.mplayerhq.hu/roundup/ffmpeg/issue311 a  
while back, but nobody is really using that and it's never got a  
response.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: str-crash.diff
Type: application/octet-stream
Size: 715 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080123/4805865a/attachment.obj>
-------------- next part --------------




More information about the ffmpeg-devel mailing list