Skip to content

[3.0] caf: don't keep extra data for an unknown codec

Steve Lhomme requested to merge robUx4/vlc:30-caf-extra into 3.0.x

The codec ID is set in ReadDescChunk(). And according to the error before using it:

The audio description chunk must be the first chunk

We should not be using codec data if we don't have the codec. The file will eventually fail with this error, but we don't need to copy bogus data before that.

Fixes #29012 (closed)

(cherry picked from commit b3ec88d5)

Merge request reports

Loading