[FFmpeg-devel] [PATCH]Do not insert "0x" into long umid tags
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Dec 8 17:13:11 CET 2011
Hi!
Attached fixes ticket 722 for me, I suspect a typo, but maybe the "0x" was
intended?
Please review, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/wav.c b/libavformat/wav.c
index b9a8f40..61ea579 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -345,7 +345,7 @@ static int wav_parse_bext_tag(AVFormatContext *s, int64_t size)
} else {
/* extended UMID */
snprintf(temp, sizeof(temp), "0x%016"PRIX64"%016"PRIX64"%016"PRIX64"%016"PRIX64
- "0x%016"PRIX64"%016"PRIX64"%016"PRIX64"%016"PRIX64,
+ "%016"PRIX64"%016"PRIX64"%016"PRIX64"%016"PRIX64,
umid_parts[0], umid_parts[1], umid_parts[2], umid_parts[3],
umid_parts[4], umid_parts[5], umid_parts[6], umid_parts[7]);
}
More information about the ffmpeg-devel
mailing list