Re: [FFmpeg-devel] [PATCH v3 06/11] libavformat/asfdec: remove unused parameters

2022-05-08 Thread Michael Niedermayer
On Sun, May 08, 2022 at 03:01:17AM +, softworkz wrote:
> From: softworkz 
> 
> Signed-off-by: softworkz 
> ---
>  libavformat/asfdec_f.c | 30 +++---
>  1 file changed, 15 insertions(+), 15 deletions(-)

will apply

thx

[...]
-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.


signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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


[FFmpeg-devel] [PATCH v3 06/11] libavformat/asfdec: remove unused parameters

2022-05-07 Thread softworkz
From: softworkz 

Signed-off-by: softworkz 
---
 libavformat/asfdec_f.c | 30 +++---
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c
index 9ad2ca946b..19b4a5fad1 100644
--- a/libavformat/asfdec_f.c
+++ b/libavformat/asfdec_f.c
@@ -299,7 +299,7 @@ finish:
 avio_seek(s->pb, off + len, SEEK_SET);
 }
 
-static int asf_read_file_properties(AVFormatContext *s, int64_t size)
+static int asf_read_file_properties(AVFormatContext *s)
 {
 ASFContext *asf = s->priv_data;
 AVIOContext *pb = s->pb;
@@ -494,7 +494,7 @@ static int asf_read_stream_properties(AVFormatContext *s, 
int64_t size)
 return 0;
 }
 
-static int asf_read_ext_stream_properties(AVFormatContext *s, int64_t size)
+static int asf_read_ext_stream_properties(AVFormatContext *s)
 {
 ASFContext *asf = s->priv_data;
 AVIOContext *pb = s->pb;
@@ -554,7 +554,7 @@ static int asf_read_ext_stream_properties(AVFormatContext 
*s, int64_t size)
 return 0;
 }
 
-static int asf_read_content_desc(AVFormatContext *s, int64_t size)
+static int asf_read_content_desc(AVFormatContext *s)
 {
 AVIOContext *pb = s->pb;
 uint32_t len1, len2, len3, len4, len5;
@@ -573,7 +573,7 @@ static int asf_read_content_desc(AVFormatContext *s, 
int64_t size)
 return 0;
 }
 
-static int asf_read_ext_content_desc(AVFormatContext *s, int64_t size)
+static int asf_read_ext_content_desc(AVFormatContext *s)
 {
 AVIOContext *pb = s->pb;
 ASFContext *asf = s->priv_data;
@@ -622,7 +622,7 @@ static int asf_read_ext_content_desc(AVFormatContext *s, 
int64_t size)
 return 0;
 }
 
-static int asf_read_language_list(AVFormatContext *s, int64_t size)
+static int asf_read_language_list(AVFormatContext *s)
 {
 AVIOContext *pb = s->pb;
 ASFContext *asf = s->priv_data;
@@ -642,7 +642,7 @@ static int asf_read_language_list(AVFormatContext *s, 
int64_t size)
 return 0;
 }
 
-static int asf_read_metadata(AVFormatContext *s, int64_t size)
+static int asf_read_metadata(AVFormatContext *s)
 {
 AVIOContext *pb = s->pb;
 ASFContext *asf = s->priv_data;
@@ -702,7 +702,7 @@ static int asf_read_metadata(AVFormatContext *s, int64_t 
size)
 return 0;
 }
 
-static int asf_read_marker(AVFormatContext *s, int64_t size)
+static int asf_read_marker(AVFormatContext *s)
 {
 AVIOContext *pb = s->pb;
 ASFContext *asf = s->priv_data;
@@ -781,21 +781,21 @@ static int asf_read_header(AVFormatContext *s)
 if (gsize < 24)
 return AVERROR_INVALIDDATA;
 if (!ff_guidcmp(, _asf_file_header)) {
-ret = asf_read_file_properties(s, gsize);
+ret = asf_read_file_properties(s);
 } else if (!ff_guidcmp(, _asf_stream_header)) {
 ret = asf_read_stream_properties(s, gsize);
 } else if (!ff_guidcmp(, _asf_comment_header)) {
-asf_read_content_desc(s, gsize);
+asf_read_content_desc(s);
 } else if (!ff_guidcmp(, _asf_language_guid)) {
-asf_read_language_list(s, gsize);
+asf_read_language_list(s);
 } else if (!ff_guidcmp(, _asf_extended_content_header)) {
-asf_read_ext_content_desc(s, gsize);
+asf_read_ext_content_desc(s);
 } else if (!ff_guidcmp(, _asf_metadata_header)) {
-asf_read_metadata(s, gsize);
+asf_read_metadata(s);
 } else if (!ff_guidcmp(, _asf_metadata_library_header)) {
-asf_read_metadata(s, gsize);
+asf_read_metadata(s);
 } else if (!ff_guidcmp(, _asf_ext_stream_header)) {
-asf_read_ext_stream_properties(s, gsize);
+asf_read_ext_stream_properties(s);
 
 // there could be an optional stream properties object to follow
 // if so the next iteration will pick it up
@@ -805,7 +805,7 @@ static int asf_read_header(AVFormatContext *s)
 avio_skip(pb, 6);
 continue;
 } else if (!ff_guidcmp(, _asf_marker_header)) {
-asf_read_marker(s, gsize);
+asf_read_marker(s);
 } else if (avio_feof(pb)) {
 return AVERROR_EOF;
 } else {
-- 
ffmpeg-codebot

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

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