aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-06 13:43:09 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-06 13:43:09 +0000
commit9ca135d72381a04eacdd28d60701724c6f8d2a06 (patch)
tree219b3567dc128b89f5a88df62e0447904b922a6e /src/mp3_decode.c
parent230750e23e8e1c78319813ea1297a0023b95170c (diff)
downloadmpd-9ca135d72381a04eacdd28d60701724c6f8d2a06.tar.gz
mpd-9ca135d72381a04eacdd28d60701724c6f8d2a06.tar.xz
mpd-9ca135d72381a04eacdd28d60701724c6f8d2a06.zip
fix bug #223
git-svn-id: https://svn.musicpd.org/mpd/trunk@924 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/mp3_decode.c')
-rw-r--r--src/mp3_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c
index cf1c9b54e..9103742e4 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -232,8 +232,8 @@ int decodeNextFrame(mp3DecodeData * data) {
return DECODE_BREAK;
}
}
-#ifdef HAVE_ID3TAG
if(mad_frame_decode(&data->frame,&data->stream)) {
+#ifdef HAVE_ID3TAG
if((data->stream).error==MAD_ERROR_LOSTSYNC) {
signed long tagsize = id3_tag_query(
(data->stream).this_frame,