lavc/refstruct: move to lavu and make public

It is highly versatile and generally useful.
This commit is contained in:
Anton Khirnov
2024-10-15 22:37:56 +02:00
parent 183c59b473
commit 56ba57b672
70 changed files with 657 additions and 651 deletions

View File

@@ -28,7 +28,7 @@
#include "codec_id.h"
#include "get_bits.h"
#include "put_bits.h"
#include "refstruct.h"
#include "libavutil/refstruct.h"
enum CBSContentType {
@@ -93,7 +93,7 @@ typedef const struct CodedBitstreamUnitTypeDescriptor {
} ref;
struct {
void (*content_free)(FFRefStructOpaque opaque, void *content);
void (*content_free)(AVRefStructOpaque opaque, void *content);
int (*content_clone)(void **new_content, CodedBitstreamUnit *unit);
} complex;
} type;