[SCM] libav/experimental: rmdec: do not export anything to AVCodecContext.codec_name

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:03 UTC 2014


The following commit has been merged in the experimental branch:
commit ef9732162cd4b593c6db28fdd352ebef21b5c1ca
Author: Anton Khirnov <anton at khirnov.net>
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.

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/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list