oggparseskeleton: do not use AVCodecContext.codec_name
authorAnton Khirnov <anton@khirnov.net>
Tue, 29 Apr 2014 13:42:38 +0000 (15:42 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 1 May 2014 07:26:02 +0000 (09:26 +0200)
That field is undocumented, of dubious use, and will be deprecated.

libavformat/oggparseskeleton.c

index f437c69..5333e17 100644 (file)
@@ -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)