X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Favcodec.h;h=377aa5309424fdbfcde0d20a7e5453ee09b7b191;hb=eff2861a757b8a46398e6fcb844b960b4775daad;hp=60f7acefbd3d8e75efb9f7baa3c9f9b50aaad4e3;hpb=2b1a6b1ae31a24d58c5e5f4a0cd7e56eefb027c0;p=ffmpeg diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 60f7acefbd3..377aa530942 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -724,7 +724,7 @@ typedef struct AVCodecDescriptor { /** * Codec uses only intra compression. - * Video codecs only. + * Video and audio codecs only. */ #define AV_CODEC_PROP_INTRA_ONLY (1 << 0) /** @@ -4452,13 +4452,13 @@ AVPacket *av_packet_alloc(void); * @see av_packet_alloc * @see av_packet_ref */ -AVPacket *av_packet_clone(AVPacket *src); +AVPacket *av_packet_clone(const AVPacket *src); /** * Free the packet, if the packet is reference counted, it will be * unreferenced first. * - * @param packet packet to be freed. The pointer will be set to NULL. + * @param pkt packet to be freed. The pointer will be set to NULL. * @note passing NULL is a no-op. */ void av_packet_free(AVPacket **pkt);