Skip to content

Commit 65d782b

Browse files
committed
fix build error
1 parent 6942780 commit 65d782b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patches/ffmpeg-n7.1.1/0020-Audio-Vivid-Parser-and-Demuxer-but-av3a-Decoder-is-a.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
From 6ce40ee3d8219cb12d2a0e2f8bb1dd1a495dfab7 Mon Sep 17 00:00:00 2001
1+
From 1dddf06f8c49c6a1e362b492945cdd6bb5941c3b Mon Sep 17 00:00:00 2001
22
From: qianlongxu <qianlongxu@gmail.com>
3-
Date: Tue, 20 Jan 2026 11:45:47 +0800
3+
Date: Tue, 20 Jan 2026 14:06:57 +0800
44
Subject: [PATCH] Audio Vivid Parser and Demuxer, but av3a Decoder is absent
55

66
---
@@ -662,7 +662,7 @@ index 31a9509..a3553bb 100644
662662
extern FFInputFormat ff_ijklas_demuxer;
663663
diff --git a/libavformat/av3adec.c b/libavformat/av3adec.c
664664
new file mode 100644
665-
index 0000000..03f2181
665+
index 0000000..9bb8729
666666
--- /dev/null
667667
+++ b/libavformat/av3adec.c
668668
@@ -0,0 +1,473 @@
@@ -1034,7 +1034,7 @@ index 0000000..03f2181
10341034
+ stream->start_time = 0;
10351035
+ ffstream(stream)->need_parsing = AVSTREAM_PARSE_FULL_RAW;
10361036
+ stream->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
1037-
+ stream->codecpar->codec_id = s->iformat->raw_codec_id;
1037+
+ stream->codecpar->codec_id = ((const FFInputFormat*)(s->iformat))->raw_codec_id;
10381038
+ stream->codecpar->codec_tag = MKTAG('a', 'v', '3', 'a');
10391039
+
10401040
+ if ((ret = avio_read(s->pb, header, AV3A_MAX_NBYTES_HEADER)) != AV3A_MAX_NBYTES_HEADER) {

0 commit comments

Comments
 (0)