diff avcodec.h @ 10180:a514a601bf26 libavcodec

Add CODEC_CAP_SUBFRAMES for codecs that output multiple subframes per AVPacket No longer print "Multiple frames in a packet" error message when CODEC_CAP_SUBFRAMES is set (wmapro, wavpack)
author faust3
date Wed, 16 Sep 2009 15:08:26 +0000
parents 2fc1e93229ee
children 2ab0e95bc837
line wrap: on
line diff
--- a/avcodec.h	Wed Sep 16 11:29:47 2009 +0000
+++ b/avcodec.h	Wed Sep 16 15:08:26 2009 +0000
@@ -605,6 +605,10 @@
  * Codec can export data for HW decoding (VDPAU).
  */
 #define CODEC_CAP_HWACCEL_VDPAU    0x0080
+/**
+ * Codec can output multiple frames per AVPacket
+ */
+#define CODEC_CAP_SUBFRAMES        0x0100
 
 //The following defines may change, don't expect compatibility if you use them.
 #define MB_TYPE_INTRA4x4   0x0001