View | Details | Raw Unified | Return to bug 116780
Collapse All | Expand All

(-)plugins/mp4/mp4.cpp 2007-10-01 10:18:19.000000000 +0200 (-5 / +2 lines)
Lines 231-239 Link Here
231
  strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
231
  strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
232
  if (!MP4Close(mp4file))
232
  MP4Close(mp4file);
233
    return 0;
234
235
  return 1;
233
  return 1;
236
}
234
}
Lines 315-322 Link Here
315
  sprintf(temp, "%d", mdata->nonAlbum);
313
  sprintf(temp, "%d", mdata->nonAlbum);
316
  MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
314
  MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
317
  if (!MP4Close(mp4file))
315
  MP4Close(mp4file);
318
    return 0;
319
#ifndef WIN32
316
#ifndef WIN32
320
  if (!MP4Optimize(utf8ToEncoding(fileName, encoding).c_str()))
317
  if (!MP4Optimize(utf8ToEncoding(fileName, encoding).c_str()))

Return to bug 116780