[FFmpeg-cvslog] lavf/mux: rename variable cortag -> tagbuf2 in init_muxer()
Stefano Sabatini
git at videolan.org
Wed Jun 26 23:31:25 CEST 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Jun 26 17:13:06 2013 +0200| [08b99be7c4745e9e4c435f17c2f46afc5d7d943c] | committer: Stefano Sabatini
lavf/mux: rename variable cortag -> tagbuf2 in init_muxer()
Possibly enhance readibility.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=08b99be7c4745e9e4c435f17c2f46afc5d7d943c
---
libavformat/mux.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index bb72a41..82b5a8e 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -301,12 +301,12 @@ static int init_muxer(AVFormatContext *s, AVDictionary **options)
}
if (codec->codec_tag) {
if (!validate_codec_tag(s, st)) {
- char tagbuf[32], cortag[32];
+ char tagbuf[32], tagbuf2[32];
av_get_codec_tag_string(tagbuf, sizeof(tagbuf), codec->codec_tag);
- av_get_codec_tag_string(cortag, sizeof(cortag), av_codec_get_tag(s->oformat->codec_tag, codec->codec_id));
+ av_get_codec_tag_string(tagbuf2, sizeof(tagbuf2), av_codec_get_tag(s->oformat->codec_tag, codec->codec_id));
av_log(s, AV_LOG_ERROR,
"Tag %s/0x%08x incompatible with output codec id '%d' (%s)\n",
- tagbuf, codec->codec_tag, codec->codec_id, cortag);
+ tagbuf, codec->codec_tag, codec->codec_id, tagbuf2);
ret = AVERROR_INVALIDDATA;
goto fail;
}
More information about the ffmpeg-cvslog
mailing list