Files
ffmpeg/libavcodec
Jonathan Murray 399234ee2a libavcodec/wmadec: Return AVERROR_INVALIDDATA on decoding errors
WMA files that fail to decode due to incoherent block lengths and
frame lengths currently result in a "Operation not permitted".
After this change, they will instead result in "Invalid data found
when processing input".

Several other error cases are also changed from returning -1.

As we change the error propagation logic in wma_decode_frame and
wma_decode_superframe, previous occurrences of returning
AVERROR_INVALIDDATA are also affected by this. This includes
"total_gain overread" and a "channel exponents_initialized" check.

---

Tomas: changed some -1's to AVERROR_INVALIDDATA
2025-02-26 14:52:15 +01:00
..
2025-01-25 09:37:45 +02:00
2024-12-22 16:08:33 +11:00
2025-02-04 00:14:14 +01:00
2025-02-04 00:14:14 +01:00
2025-01-01 21:33:45 +01:00
2025-02-09 20:27:49 -06:00
2025-02-09 20:27:49 -06:00
2024-09-06 13:59:28 +02:00
2024-09-28 18:35:35 +02:00
2024-09-28 18:35:35 +02:00
2025-01-01 20:31:08 +01:00
2024-11-01 12:13:07 +08:00
2024-09-24 15:37:19 +02:00
2025-02-06 13:48:47 -03:00
2024-11-09 02:46:17 +01:00
2025-02-06 13:48:47 -03:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-11-01 12:13:07 +08:00
2024-11-01 12:13:07 +08:00
2024-09-24 15:37:19 +02:00
2025-02-09 20:27:49 -06:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2024-09-24 15:37:20 +02:00