[FFmpeg-cvslog] oggparseskeleton: do not use AVCodecContext.codec_name

Anton Khirnov git at videolan.org
Thu May 1 17:31:30 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Apr 29 15:42:38 2014 +0200| [92e4b643dfdafdb6528f1baffdbea2b9a028d7c0] | committer: Anton Khirnov

oggparseskeleton: do not use AVCodecContext.codec_name

That field is undocumented, of dubious use, and will be deprecated.

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

 libavformat/oggparseskeleton.c |    1 -
 1 file changed, 1 deletion(-)

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)



More information about the ffmpeg-cvslog mailing list