mpv/audio/decode
wm4 570826448a audio: fix playback of Musepack SV8 files
This is basically a libavcodec API oddity: it can happen that
avcodec_decode_audio4() returns 0 (meaning 0 bytes were consumed). It
requires you to feed the complete packet again to decode the full
packet, and to successfully decode the following packets.

We ignored this case with the argument that there's the danger of an
endless decode loop (because nothing of that packet is apparently
decoded, so it would retry forever), but change it in order to decode
mpc8 files correctly.

Also add some comments to explain the mess.
2013-09-01 20:17:50 +02:00
..
ad.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
ad_lavc.c audio: fix playback of Musepack SV8 files 2013-09-01 20:17:50 +02:00
ad_mpg123.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
ad_spdif.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
dec_audio.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
dec_audio.h audio/filter: use new option API 2013-07-22 15:11:03 +02:00