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/2] avfilter/internal: Remove declaration of inexistent function
@ 2022-09-21  1:59 Andreas Rheinhardt
  2022-09-21  2:00 ` [FFmpeg-devel] [PATCH 2/2] avfilter/avfilter: Make ff_command_queue_pop() static Andreas Rheinhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Rheinhardt @ 2022-09-21  1:59 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Andreas Rheinhardt

ff_get_ref_perms_string() has been removed in
7e350379f87e7f74420b4813170fe808e2313911.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/internal.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 0128820be0..36969c442e 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -266,8 +266,6 @@ void ff_command_queue_pop(AVFilterContext *filter);
 
 #define FF_TPRINTF_START(ctx, func) ff_tlog(NULL, "%-16s: ", #func)
 
-char *ff_get_ref_perms_string(char *buf, size_t buf_size, int perms);
-
 #ifdef TRACE
 void ff_tlog_link(void *ctx, AVFilterLink *link, int end);
 #else
-- 
2.34.1

_______________________________________________
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] 3+ messages in thread

* [FFmpeg-devel] [PATCH 2/2] avfilter/avfilter: Make ff_command_queue_pop() static
  2022-09-21  1:59 [FFmpeg-devel] [PATCH 1/2] avfilter/internal: Remove declaration of inexistent function Andreas Rheinhardt
@ 2022-09-21  2:00 ` Andreas Rheinhardt
  2022-09-21  9:11   ` Nicolas George
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Rheinhardt @ 2022-09-21  2:00 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Andreas Rheinhardt

Only used here.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/avfilter.c | 6 +++---
 libavfilter/internal.h | 2 --
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index f34204e650..cc5505e65b 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -78,7 +78,7 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end)
 #endif
 }
 
-void ff_command_queue_pop(AVFilterContext *filter)
+static void command_queue_pop(AVFilterContext *filter)
 {
     AVFilterCommand *c= filter->command_queue;
     av_freep(&c->arg);
@@ -780,7 +780,7 @@ void avfilter_free(AVFilterContext *filter)
     av_freep(&filter->outputs);
     av_freep(&filter->priv);
     while(filter->command_queue){
-        ff_command_queue_pop(filter);
+        command_queue_pop(filter);
     }
     av_opt_free(filter);
     av_expr_free(filter->enable);
@@ -1494,7 +1494,7 @@ int ff_inlink_process_commands(AVFilterLink *link, const AVFrame *frame)
                "Processing command time:%f command:%s arg:%s\n",
                cmd->time, cmd->command, cmd->arg);
         avfilter_process_command(link->dst, cmd->command, cmd->arg, 0, 0, cmd->flags);
-        ff_command_queue_pop(link->dst);
+        command_queue_pop(link->dst);
         cmd= link->dst->command_queue;
     }
     return 0;
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 36969c442e..aaf2c6c584 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -256,8 +256,6 @@ void ff_avfilter_link_set_in_status(AVFilterLink *link, int status, int64_t pts)
  */
 void ff_avfilter_link_set_out_status(AVFilterLink *link, int status, int64_t pts);
 
-void ff_command_queue_pop(AVFilterContext *filter);
-
 #define D2TS(d)      (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d))
 #define TS2D(ts)     ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts))
 #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb))
-- 
2.34.1

_______________________________________________
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] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH 2/2] avfilter/avfilter: Make ff_command_queue_pop() static
  2022-09-21  2:00 ` [FFmpeg-devel] [PATCH 2/2] avfilter/avfilter: Make ff_command_queue_pop() static Andreas Rheinhardt
@ 2022-09-21  9:11   ` Nicolas George
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas George @ 2022-09-21  9:11 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Andreas Rheinhardt


[-- Attachment #1.1: Type: text/plain, Size: 322 bytes --]

Andreas Rheinhardt (12022-09-21):
> Only used here.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavfilter/avfilter.c | 6 +++---
>  libavfilter/internal.h | 2 --
>  2 files changed, 3 insertions(+), 5 deletions(-)

Both patches look ok.

Regards,

-- 
  Nicolas George

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: 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] 3+ messages in thread

end of thread, other threads:[~2022-09-21  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21  1:59 [FFmpeg-devel] [PATCH 1/2] avfilter/internal: Remove declaration of inexistent function Andreas Rheinhardt
2022-09-21  2:00 ` [FFmpeg-devel] [PATCH 2/2] avfilter/avfilter: Make ff_command_queue_pop() static Andreas Rheinhardt
2022-09-21  9:11   ` Nicolas George

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