[FFmpeg-cvslog] rmdec: do not export anything to AVCodecContext.codec_name

Anton Khirnov git at videolan.org
Thu May 1 18:00:09 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Apr 29 16:40:55 2014 +0200| [ef9732162cd4b593c6db28fdd352ebef21b5c1ca] | committer: Anton Khirnov

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.

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

 libavformat/rmdec.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 487e74f..eb0f3c5 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 ||



More information about the ffmpeg-cvslog mailing list