summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-13 17:57:43 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-13 18:02:05 +0200
commit289f02f923ace4540829c8ee2ca729bf7680fd23 (patch)
tree9bbe87b2ee692ce3bccdfa6f0e2a72b1febdd1fd /libavformat/avformat.h
parenta31547ce2e5c46d7a7005fe70dcf9b3a7c5fc4ac (diff)
avformat/utils: Inject global side data into first packet.
This fixes replaygain handling in ffplay and probably other applications. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 4181e36465..ebebb3fb6e 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1040,6 +1040,11 @@ typedef struct AVStream {
uint8_t dts_ordered;
uint8_t dts_misordered;
+ /**
+ * Internal data to inject global side data
+ */
+ int global_side_data_injected;
+
} AVStream;
AVRational av_stream_get_r_frame_rate(const AVStream *s);