From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Subject: [FFmpeg-devel] [PATCH 2/3] avcodec/error_resilience: Constify ThreadFrame* Date: Tue, 10 Oct 2023 03:27:19 +0200 Message-ID: <DU0P250MB074779A640BB0D5E2131EDFE8FCDA@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM> (raw) In-Reply-To: <DU0P250MB0747716D8EF32435A1FFCB6F8FCDA@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM> Forgotten in 0eb399ac3953da16f880a1e455bb009a45f76d49. While just at it, also use a forward declaration. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/error_resilience.h | 3 +-- libavcodec/h264dec.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/error_resilience.h b/libavcodec/error_resilience.h index b03f8ec896..1346639c3c 100644 --- a/libavcodec/error_resilience.h +++ b/libavcodec/error_resilience.h @@ -24,7 +24,6 @@ #include "avcodec.h" #include "me_cmp.h" -#include "threadframe.h" ///< current MB is the first after a resync marker #define VP_START 1 @@ -40,7 +39,7 @@ typedef struct ERPicture { AVFrame *f; - ThreadFrame *tf; + const struct ThreadFrame *tf; // it is the caller's responsibility to allocate these buffers int16_t (*motion_val[2])[2]; diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h index b4ea0ed880..0009b539e7 100644 --- a/libavcodec/h264dec.h +++ b/libavcodec/h264dec.h @@ -43,6 +43,7 @@ #include "h264qpel.h" #include "h274.h" #include "mpegutils.h" +#include "threadframe.h" #include "videodsp.h" #define H264_MAX_PICTURE_COUNT 36 -- 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".
next prev parent reply other threads:[~2023-10-10 1:41 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-10-10 1:26 [FFmpeg-devel] [PATCH 1/3] avcodec/h264idct_template: Don't include h264dec.h Andreas Rheinhardt 2023-10-10 1:27 ` Andreas Rheinhardt [this message] 2023-10-12 20:24 ` [FFmpeg-devel] [PATCH 2/3] avcodec/error_resilience: Constify ThreadFrame* Michael Niedermayer 2023-10-10 1:27 ` [FFmpeg-devel] [PATCH 3/3] avcodec/h264dec: Constify H.264 decoder Andreas Rheinhardt 2023-10-12 21:03 ` [FFmpeg-devel] [PATCH 1/3] avcodec/h264idct_template: Don't include h264dec.h Andreas Rheinhardt
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=DU0P250MB074779A640BB0D5E2131EDFE8FCDA@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM \ --to=andreas.rheinhardt@outlook.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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