diff options
author | jmarshallnz <jcmarsha@gmail.com> | 2014-01-04 13:16:55 -0800 |
---|---|---|
committer | jmarshallnz <jcmarsha@gmail.com> | 2014-01-04 13:16:55 -0800 |
commit | 90f39147cc0aec5f22edc906ce99ac370736d3eb (patch) | |
tree | a8aced7b559171279efe0cb7af21ca0c38a404c3 /lib | |
parent | a0c26039415205d0d5695ff7a7fc080d2f353e3d (diff) | |
parent | 632475b20822b010cf18255ce41530ac490cd118 (diff) |
Merge pull request #3871 from gfto/fix-compile-errors2
Fix two compilation errors.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xbmc-dll-symbols/DllAvFormat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xbmc-dll-symbols/DllAvFormat.c b/lib/xbmc-dll-symbols/DllAvFormat.c index 4b09663441..a592a1ff8d 100644 --- a/lib/xbmc-dll-symbols/DllAvFormat.c +++ b/lib/xbmc-dll-symbols/DllAvFormat.c @@ -112,7 +112,9 @@ void xbmc_read_frame_flush(AVFormatContext *s) #define RELATIVE_TS_BASE (INT64_MAX - (1LL<<48)) if(st->first_dts == AV_NOPTS_VALUE) st->cur_dts = RELATIVE_TS_BASE; else st->cur_dts = AV_NOPTS_VALUE; /* we set the current DTS to an unspecified origin */ +#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(55,0,0) st->reference_dts = AV_NOPTS_VALUE; +#endif st->probe_packets = MAX_PROBE_PACKETS; #endif |