Browse Source

apetag: return value when required.

Should fix compilation on clang.
tags/n1.0
Nicolas George 13 years ago
parent
commit
ff2955a4f7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/apetag.c

+ 1
- 1
libavformat/apetag.c View File

@@ -157,7 +157,7 @@ int64_t ff_ape_parse_tag(AVFormatContext *s)
val = avio_rl32(pb); /* flags */ val = avio_rl32(pb); /* flags */
if (val & APE_TAG_FLAG_IS_HEADER) { if (val & APE_TAG_FLAG_IS_HEADER) {
av_log(s, AV_LOG_ERROR, "APE Tag is a header\n"); av_log(s, AV_LOG_ERROR, "APE Tag is a header\n");
return;
return 0;
} }


avio_seek(pb, file_size - tag_bytes, SEEK_SET); avio_seek(pb, file_size - tag_bytes, SEEK_SET);


Loading…
Cancel
Save