summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-04-29 16:40:55 +0200
committerAnton Khirnov <anton@khirnov.net>2014-05-01 09:26:51 +0200
commitef9732162cd4b593c6db28fdd352ebef21b5c1ca (patch)
treed78dfdb31e7c6f86d049f84786e09e9a8b7ae2c3 /libavformat/rmdec.c
parent6072184e702b4b631ac72f1b66b75e5f21e0ce2d (diff)
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.
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c2
1 files changed, 0 insertions, 2 deletions
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 ||