提交 92e4b643 编写于 作者: A Anton Khirnov

oggparseskeleton: do not use AVCodecContext.codec_name

That field is undocumented, of dubious use, and will be deprecated.
上级 18f2514c
...@@ -34,7 +34,6 @@ static int skeleton_header(AVFormatContext *s, int idx) ...@@ -34,7 +34,6 @@ static int skeleton_header(AVFormatContext *s, int idx)
uint64_t start_granule; uint64_t start_granule;
int target_idx, start_time; int target_idx, start_time;
strcpy(st->codec->codec_name, "skeleton");
st->codec->codec_type = AVMEDIA_TYPE_DATA; st->codec->codec_type = AVMEDIA_TYPE_DATA;
if (os->psize < 8) if (os->psize < 8)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册