Module: libav
Branch: master
Commit: ef9732162cd4b593c6db28fdd352ebef21b5c1ca

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Tue Apr 29 16:40:55 2014 +0200

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(-)

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 ||

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to