summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-11-14 12:22:06 +0100
committerAnton Khirnov <anton@khirnov.net>2015-01-27 09:17:48 +0100
commit728685f37ab333ca35980bd01766c78d197f784a (patch)
treea7a8cb43ab86dd21d5df02d64b312c96a9ca240b /libavcodec/avcodec.h
parent80a11de7dca315505bf203ce9c8c016e71724fd2 (diff)
Add a side data type for audio service type.
Currently, audio service type is a field in AVCodecContext. However, side data is more appropriate for this kind of information.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 1abe985a48..87f3a83b1d 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -917,6 +917,12 @@ enum AVPacketSideDataType {
* Stereoscopic 3D information in form of the AVStereo3D struct.
*/
AV_PKT_DATA_STEREO3D,
+
+ /**
+ * This side data should be associated with an audio stream and corresponds
+ * to enum AVAudioServiceType.
+ */
+ AV_PKT_DATA_AUDIO_SERVICE_TYPE,
};
typedef struct AVPacketSideData {