mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 03:28:27 +00:00
framemd5_class and md5enc_class may not be identical.
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 <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
82d105543c
commit
4059c7836a
@ -141,7 +141,7 @@ static int framemd5_write_trailer(struct AVFormatContext *s)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const AVClass framemd5_class = {
|
static const AVClass framemd5_class = {
|
||||||
.class_name = "hash encoder class",
|
.class_name = "frame hash encoder class",
|
||||||
.item_name = av_default_item_name,
|
.item_name = av_default_item_name,
|
||||||
.option = hash_options,
|
.option = hash_options,
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
.version = LIBAVUTIL_VERSION_INT,
|
||||||
|
Loading…
Reference in New Issue
Block a user