summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-23 22:25:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-23 23:15:09 +0100
commit82d79289db03ddc85ea6d5c81a5151e1ad64b2b5 (patch)
treef882aff50823f797468f0547ef847bc328bd7584 /libavformat/avformat.h
parent285485ac5f896cc450e0183daa41a8ee63d17076 (diff)
avformat: Allocate duration_error separately
This significantly reduces the memory needed per AVStream when the array is not needed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index c2bd849332..9b72279a89 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -754,7 +754,7 @@ typedef struct AVStream {
int64_t last_dts;
int64_t duration_gcd;
int duration_count;
- double duration_error[2][2][MAX_STD_TIMEBASES];
+ double (*duration_error)[2][MAX_STD_TIMEBASES];
int64_t codec_info_duration;
int64_t codec_info_duration_fields;
int found_decoder;