rmdec: do not export anything to AVCodecContext.codec_name
authorAnton Khirnov <anton@khirnov.net>
Tue, 29 Apr 2014 14:40:55 +0000 (16:40 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 1 May 2014 07:26:51 +0000 (09:26 +0200)
That field will be deprecated and the value that is written there is not
particularly useful.

libavformat/rmdec.c

index 487e74f..eb0f3c5 100644 (file)
@@ -240,8 +240,6 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb,
                     return ret;
             }
             break;
                     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 ||
         }
         if (ast->deint_id == DEINT_ID_INT4 ||
             ast->deint_id == DEINT_ID_GENR ||