diff options
Diffstat (limited to 'lib/xbmc-dll-symbols/DllAvFormat.c')
-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 |