From ef9732162cd4b593c6db28fdd352ebef21b5c1ca Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 29 Apr 2014 16:40:55 +0200 Subject: rmdec: do not export anything to AVCodecContext.codec_name That field will be deprecated and the value that is written there is not particularly useful. --- libavformat/rmdec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavformat/rmdec.c') diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 487e74f0d9..eb0f3c5ff0 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -240,8 +240,6 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb, return ret; } break; - default: - av_strlcpy(st->codec->codec_name, buf, sizeof(st->codec->codec_name)); } if (ast->deint_id == DEINT_ID_INT4 || ast->deint_id == DEINT_ID_GENR || -- cgit v1.2.3