aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2005-06-03 14:02:29 +0000
committerFabrice Bellard <fabrice@bellard.org>2005-06-03 14:02:29 +0000
commit09730260901489ae3359a6022d5150f0209e06f8 (patch)
tree6597aa60869bfcfc14215d1294563280c375f017
parenta9c3213f965c22baa884168ffed8961f6202583f (diff)
downloadffmpeg-09730260901489ae3359a6022d5150f0209e06f8.tar.gz
optional ISO 639 3 letter language field
Originally committed as revision 4348 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avformat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 0f73e8c7f0..f81a4f37fa 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -5,7 +5,7 @@
extern "C" {
#endif
-#define LIBAVFORMAT_BUILD 4625
+#define LIBAVFORMAT_BUILD 4626
#define LIBAVFORMAT_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVFORMAT_VERSION FFMPEG_VERSION
@@ -248,6 +248,8 @@ typedef struct AVStream {
seconds. */
int64_t duration;
+ char language[4]; /* ISO 639 3-letter language code (empty string if undefined) */
+
/* av_read_frame() support */
int need_parsing;
struct AVCodecParserContext *parser;