Opened 12 months ago

Last modified 3 months ago

#14280 new defect

VIDEO: VideoDecoder::loadStream() may delete the stream on failure

Reported by: ccawley2011 Owned by:
Priority: normal Component: Video
Version: Keywords:
Cc: Game:

Description

A number of video decoders will store a reference to the stream early, which leads to it being deleted by the decoder if it fails. This is a problem when attempting to load a file with multiple decoders to determine the file format, as well as with the AVI decoder, which is inconsistent regarding what kind of errors will delete the stream (unsupported video codecs will cause the stream to be deleted, but a missing "RIFF" signature won't).

Change History (1)

comment:1 by sev-, 3 months ago

Priority: highnormal

What would be the steps to reproduce?

Note: See TracTickets for help on using tickets.