mpv/audio
wm4 150aeafdd2 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-04 08:50:32 +02:00
..
decode audio: fix playback of Musepack SV8 files 2013-09-04 08:50:32 +02:00
filter core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
out core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
audio.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
audio.h audio/filters: add af_force 2013-05-12 21:24:56 +02:00
chmap.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
chmap.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
chmap_sel.c ao_jack: allow more control about channel layouts 2013-07-07 18:37:55 +02:00
chmap_sel.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
fmt-conversion.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio: fix af_fmt_seconds_to_bytes 2013-06-16 19:28:04 +02:00
format.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
mixer.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
mixer.h mplayer: keep volume persistent, even when using --volume 2013-04-10 21:29:04 +02:00
reorder_ch.c audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00
reorder_ch.h audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00