X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Favcodec.h;h=52cc5b0ca08adde04d3ad6ab7c7a827cef3159bb;hb=a22c6a4796ca1f2cbee6784262515da876fbec22;hp=b5bbc591ac6eebc205ea14a97f3109b1dc247eac;hpb=752bc6b402ae3a20a7e01e6bdde483b081dffc81;p=ffmpeg diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index b5bbc591ac6..52cc5b0ca08 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1599,6 +1599,13 @@ enum AVPacketSideDataType { */ AV_PKT_DATA_CONTENT_LIGHT_LEVEL, + /** + * ATSC A53 Part 4 Closed Captions. This metadata should be associated with + * a video stream. A53 CC bitstream is stored as uint8_t in AVPacketSideData.data. + * The number of bytes of CC data is AVPacketSideData.size. + */ + AV_PKT_DATA_A53_CC, + /** * The number of side data elements (in fact a bit more than it). * This is not part of the public API/ABI in the sense that it may @@ -4625,7 +4632,10 @@ int av_copy_packet(AVPacket *dst, const AVPacket *src); * Copy packet side data * * @return 0 on success, negative AVERROR on fail + * + * @deprecated Use av_packet_copy_props */ +attribute_deprecated int av_copy_packet_side_data(AVPacket *dst, const AVPacket *src); /**