From 4059c7836a57df95821505dd67322a31ee99f9e8 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Fri, 24 May 2013 14:24:46 +0200 Subject: framemd5_class and md5enc_class may not be identical. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Due the crappy issue of classes having to be unique, we cannot even have classes with identical content, otherwise the compiler or linker is free to merge them, giving the same result and bugs as if we had only one class. Besides redesigning the option code to handle this correctly I see only the option of requiring any two classes to have different names, but the list of requirements for AVClasses is getting kind of unmanageable. Signed-off-by: Reimar Döffinger --- libavformat/md5enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/md5enc.c') diff --git a/libavformat/md5enc.c b/libavformat/md5enc.c index cb92c0ce14..06c9c41c12 100644 --- a/libavformat/md5enc.c +++ b/libavformat/md5enc.c @@ -141,7 +141,7 @@ static int framemd5_write_trailer(struct AVFormatContext *s) } static const AVClass framemd5_class = { - .class_name = "hash encoder class", + .class_name = "frame hash encoder class", .item_name = av_default_item_name, .option = hash_options, .version = LIBAVUTIL_VERSION_INT, -- cgit v1.2.3