* [FFmpeg-devel] [PATCH] avcodec/codecpar: mention how to allocate coded_side_data
@ 2023-11-13 16:29 James Almer
2023-11-14 15:37 ` James Almer
0 siblings, 1 reply; 2+ messages in thread
From: James Almer @ 2023-11-13 16:29 UTC (permalink / raw)
To: ffmpeg-devel
Signed-off-by: James Almer <jamrial@gmail.com>
---
libavcodec/codec_par.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/codec_par.h b/libavcodec/codec_par.h
index 64882a9726..f42dd3b1d5 100644
--- a/libavcodec/codec_par.h
+++ b/libavcodec/codec_par.h
@@ -219,6 +219,9 @@ typedef struct AVCodecParameters {
/**
* Additional data associated with the entire stream.
+ *
+ * Should be allocated with av_packet_side_data_new() or
+ * av_packet_side_data_add(), and will be freed by avcodec_parameters_free().
*/
AVPacketSideData *coded_side_data;
--
2.42.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] 2+ messages in thread
* Re: [FFmpeg-devel] [PATCH] avcodec/codecpar: mention how to allocate coded_side_data
2023-11-13 16:29 [FFmpeg-devel] [PATCH] avcodec/codecpar: mention how to allocate coded_side_data James Almer
@ 2023-11-14 15:37 ` James Almer
0 siblings, 0 replies; 2+ messages in thread
From: James Almer @ 2023-11-14 15:37 UTC (permalink / raw)
To: ffmpeg-devel
On 11/13/2023 1:29 PM, James Almer wrote:
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
> libavcodec/codec_par.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/libavcodec/codec_par.h b/libavcodec/codec_par.h
> index 64882a9726..f42dd3b1d5 100644
> --- a/libavcodec/codec_par.h
> +++ b/libavcodec/codec_par.h
> @@ -219,6 +219,9 @@ typedef struct AVCodecParameters {
>
> /**
> * Additional data associated with the entire stream.
> + *
> + * Should be allocated with av_packet_side_data_new() or
> + * av_packet_side_data_add(), and will be freed by avcodec_parameters_free().
> */
> AVPacketSideData *coded_side_data;
Will apply.
_______________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2023-11-14 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 16:29 [FFmpeg-devel] [PATCH] avcodec/codecpar: mention how to allocate coded_side_data James Almer
2023-11-14 15:37 ` James Almer
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