]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avcodec.h
png: set AVFrame flags/fields before calling setup_finished().
[ffmpeg] / libavcodec / avcodec.h
index 60f7acefbd3d8e75efb9f7baa3c9f9b50aaad4e3..377aa5309424fdbfcde0d20a7e5453ee09b7b191 100644 (file)
@@ -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);