Skip to content
Snippets Groups Projects
Commit ac807d2c authored by Steve Lhomme's avatar Steve Lhomme
Browse files

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

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

(cherry picked from commit b3ec88d5)
parent 3758d15c
No related branches found
No related tags found
1 merge request!6880[3.0] caf: don't keep extra data for an unknown codec
Pipeline #568534 failed with stages
in 26 minutes and 20 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment