You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/avformat: Improve documentation of av_stream_get_side_data
Document that it also sets the size in case the desired side data is absent (if the pointer has been supplied). Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
@@ -2189,7 +2189,8 @@ uint8_t *av_stream_new_side_data(AVStream *stream,
|
|||||||
*
|
*
|
||||||
* @param stream stream
|
* @param stream stream
|
||||||
* @param type desired side information type
|
* @param type desired side information type
|
||||||
* @param size pointer for side information size to store (optional)
|
* @param size If supplied, *size will be set to the size of the side data
|
||||||
|
* or to zero if the desired side data is not present.
|
||||||
* @return pointer to data if present or NULL otherwise
|
* @return pointer to data if present or NULL otherwise
|
||||||
*/
|
*/
|
||||||
uint8_t *av_stream_get_side_data(const AVStream *stream,
|
uint8_t *av_stream_get_side_data(const AVStream *stream,
|
||||||
|
Reference in New Issue
Block a user