From 92e4b643dfdafdb6528f1baffdbea2b9a028d7c0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 29 Apr 2014 15:42:38 +0200 Subject: [PATCH] oggparseskeleton: do not use AVCodecContext.codec_name That field is undocumented, of dubious use, and will be deprecated. --- libavformat/oggparseskeleton.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/oggparseskeleton.c b/libavformat/oggparseskeleton.c index f437c69444..5333e17de6 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)