[FFmpeg-cvslog] lavf/ape: remove unused magic field

Clément Bœsch git at videolan.org
Wed Mar 29 15:55:04 EEST 2017


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Mon Mar 27 09:41:34 2017 +0200| [d3cedc54cc872a376851828c88103c653fc8c395] | committer: Clément Bœsch

lavf/ape: remove unused magic field

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d3cedc54cc872a376851828c88103c653fc8c395
---

 libavformat/ape.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/ape.c b/libavformat/ape.c
index 50a1aa1..c06db78 100644
--- a/libavformat/ape.c
+++ b/libavformat/ape.c
@@ -57,7 +57,6 @@ typedef struct APEContext {
     APEFrame *frames;
 
     /* Info from Descriptor Block */
-    char magic[4];
     int16_t fileversion;
     int16_t padding1;
     uint32_t descriptorlength;
@@ -102,7 +101,6 @@ static void ape_dumpinfo(AVFormatContext * s, APEContext * ape_ctx)
     int i;
 
     av_log(s, AV_LOG_DEBUG, "Descriptor Block:\n\n");
-    av_log(s, AV_LOG_DEBUG, "magic                = \"%c%c%c%c\"\n", ape_ctx->magic[0], ape_ctx->magic[1], ape_ctx->magic[2], ape_ctx->magic[3]);
     av_log(s, AV_LOG_DEBUG, "fileversion          = %"PRId16"\n", ape_ctx->fileversion);
     av_log(s, AV_LOG_DEBUG, "descriptorlength     = %"PRIu32"\n", ape_ctx->descriptorlength);
     av_log(s, AV_LOG_DEBUG, "headerlength         = %"PRIu32"\n", ape_ctx->headerlength);



More information about the ffmpeg-cvslog mailing list