aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-04-13 07:51:29 +0200
committerMax Kellermann <max@duempel.org>2010-04-13 08:51:29 +0200
commita1a03deed278a865bdc7d3394cda838543c8b03c (patch)
tree070832f581a800c37b328c8d97e56a3e8d31ca38 /src/decoder_thread.h
parent0dcd865c2e33b3087f630b9aea992103c5d1caef (diff)
downloadmpd-a1a03deed278a865bdc7d3394cda838543c8b03c.tar.gz
mpd-a1a03deed278a865bdc7d3394cda838543c8b03c.tar.xz
mpd-a1a03deed278a865bdc7d3394cda838543c8b03c.zip
decoder/mad: properly calculate ID3 size without libid3tag
Without libid3tag, we were trying to skip the ID3 frame (since 0.15.2). Its length however was not calculated at all, we were just dropping everything from the current input buffer. This lead to the first few seconds of the file being skipped. This patch attempts to calculate the ID3v2 frame size with the formula from: http://www.id3.org/id3v2.4.0-structure 3.1 and 6.2
Diffstat (limited to 'src/decoder_thread.h')
0 files changed, 0 insertions, 0 deletions