Mercurial > libavformat.hg
comparison apetag.c @ 5301:08c073da6553 libavformat
remove old and useless debug code
It uses the old, deprecated metadata API and prints exactly the same thing
as what ffmpeg/ffplay does.
author | aurel |
---|---|
date | Sun, 18 Oct 2009 16:13:29 +0000 |
parents | 6c0318c8a127 |
children | 4211f91f69b1 |
comparison
equal
deleted
inserted
replaced
5300:e5c9ae62af86 | 5301:08c073da6553 |
---|---|
105 | 105 |
106 url_fseek(pb, file_size - tag_bytes, SEEK_SET); | 106 url_fseek(pb, file_size - tag_bytes, SEEK_SET); |
107 | 107 |
108 for (i=0; i<fields; i++) | 108 for (i=0; i<fields; i++) |
109 if (ape_tag_read_field(s) < 0) break; | 109 if (ape_tag_read_field(s) < 0) break; |
110 | |
111 #if ENABLE_DEBUG | |
112 av_log(s, AV_LOG_DEBUG, "\nAPE Tags:\n\n"); | |
113 av_log(s, AV_LOG_DEBUG, "title = %s\n", s->title); | |
114 av_log(s, AV_LOG_DEBUG, "author = %s\n", s->author); | |
115 av_log(s, AV_LOG_DEBUG, "copyright = %s\n", s->copyright); | |
116 av_log(s, AV_LOG_DEBUG, "comment = %s\n", s->comment); | |
117 av_log(s, AV_LOG_DEBUG, "album = %s\n", s->album); | |
118 av_log(s, AV_LOG_DEBUG, "year = %d\n", s->year); | |
119 av_log(s, AV_LOG_DEBUG, "track = %d\n", s->track); | |
120 av_log(s, AV_LOG_DEBUG, "genre = %s\n", s->genre); | |
121 #endif | |
122 } | 110 } |