Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
@ 2023-12-28 18:43 Tomas Härdin
  2023-12-28 18:43 ` [FFmpeg-devel] [PATCH 2/6] lavf/codec2: Compute duration from filesize Tomas Härdin
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-28 18:43 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

libcodec2 has reached 1.X so it's about time the bindings receive some
attention. This patchset also includes some much-needed tests. Where do
I submit files for inclusion in FATE again? They are very small as is
to be expected from a codec that runs at 700-3200 bit/s

/Tomas

[-- Attachment #2: 0001-lavc-codec2utils-Use-actual-libcodec2-version.patch --]
[-- Type: text/x-patch, Size: 1104 bytes --]

From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 17:32:21 +0100
Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version

---
 libavcodec/codec2utils.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/codec2utils.h b/libavcodec/codec2utils.h
index 6812ae895c..a03c3c0c5f 100644
--- a/libavcodec/codec2utils.h
+++ b/libavcodec/codec2utils.h
@@ -23,6 +23,7 @@
 #define AVCODEC_CODEC2UTILS_H
 
 #include <stdint.h>
+#include <codec2/version.h>
 
 //Highest mode we're willing to use.
 //Don't want to let users accidentally produce files that can't be decoded in the future.
@@ -49,9 +50,8 @@
 
 //Used in codec2raw demuxer and libcodec2 encoder
 static inline void codec2_make_extradata(uint8_t *ptr, int mode) {
-    //version 0.8 as of 2017-12-23 (r3386)
-    ptr[0] = 0;     //major
-    ptr[1] = 8;     //minor
+    ptr[0] = CODEC2_VERSION_MAJOR;
+    ptr[1] = CODEC2_VERSION_MINOR;
     ptr[2] = mode;  //mode
     ptr[3] = 0;     //flags
 }
-- 
2.39.2


[-- Attachment #3: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-12-30 16:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-28 18:43 [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Tomas Härdin
2023-12-28 18:43 ` [FFmpeg-devel] [PATCH 2/6] lavf/codec2: Compute duration from filesize Tomas Härdin
2023-12-28 18:44 ` [FFmpeg-devel] [PATCH 3/6] lavf/codec2: Allow versions between 0.8 and 1.X Tomas Härdin
2023-12-28 18:44 ` [FFmpeg-devel] [PATCH 4/6] lavf/codec2: Multiple of block_align -> not corrupt Tomas Härdin
2023-12-28 18:45 ` [FFmpeg-devel] [PATCH 5/6] lavf/codec2: Silence warnings when either muxer/demuxer is disabled Tomas Härdin
2023-12-28 18:48 ` [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper Tomas Härdin
2023-12-29 10:40   ` Andreas Rheinhardt
2023-12-29 12:40     ` Tomas Härdin
2023-12-30 16:02     ` Tomas Härdin
2023-12-30 16:55       ` Tomas Härdin
2023-12-28 20:29 ` [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Michael Niedermayer
2023-12-28 21:21   ` Tomas Härdin
2023-12-28 23:30     ` Michael Niedermayer
2023-12-29 12:43       ` Tomas Härdin
2023-12-30 16:00       ` Tomas Härdin

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git