[SCM] libav/experimental: oggparseskeleton: do not use AVCodecContext.codec_name

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:02 UTC 2014


The following commit has been merged in the experimental branch:
commit 92e4b643dfdafdb6528f1baffdbea2b9a028d7c0
Author: Anton Khirnov <anton at khirnov.net>
Date:   Tue Apr 29 15:42:38 2014 +0200

    oggparseskeleton: do not use AVCodecContext.codec_name
    
    That field is undocumented, of dubious use, and will be deprecated.

diff --git a/libavformat/oggparseskeleton.c b/libavformat/oggparseskeleton.c
index f437c69..5333e17 100644
--- a/libavformat/oggparseskeleton.c
+++ b/libavformat/oggparseskeleton.c
@@ -34,7 +34,6 @@ static int skeleton_header(AVFormatContext *s, int idx)
     uint64_t start_granule;
     int target_idx, start_time;
 
-    strcpy(st->codec->codec_name, "skeleton");
     st->codec->codec_type = AVMEDIA_TYPE_DATA;
 
     if (os->psize < 8)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list