[FFmpeg-devel] [PATCH] framemd5_class and md5enc_class may not be identical.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Fri May 24 14:30:28 CEST 2013
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
a different names, but the list of requirements for
AVClasses is getting kind of unmanageable.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
libavformat/md5enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/md5enc.c b/libavformat/md5enc.c
index cb92c0c..06c9c41 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,
--
1.8.1.2
More information about the ffmpeg-devel
mailing list