]>
Commit | Line | Data |
---|---|---|
eaa434b1 JR |
1 | From 632475b20822b010cf18255ce41530ac490cd118 Mon Sep 17 00:00:00 2001 |
2 | From: Georgi Chorbadzhiyski <gf@unixsol.org> | |
3 | Date: Fri, 20 Dec 2013 00:25:34 +0200 | |
4 | Subject: [PATCH] Fix compilation error related to removed structure field by | |
5 | ffmpeg. | |
6 | ||
7 | ffmpeg removed reference_dts field in struct AVStream. | |
8 | ||
9 | Related ffmpeg commit: | |
10 | http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=2ba68dd044ca8fc591139c05563840f546a9c0c0 | |
11 | --- | |
12 | lib/xbmc-dll-symbols/DllAvFormat.c | 2 ++ | |
13 | 1 file changed, 2 insertions(+) | |
14 | ||
15 | diff --git a/lib/xbmc-dll-symbols/DllAvFormat.c b/lib/xbmc-dll-symbols/DllAvFormat.c | |
16 | index 4b09663..a592a1f 100644 | |
17 | --- a/lib/xbmc-dll-symbols/DllAvFormat.c | |
18 | +++ b/lib/xbmc-dll-symbols/DllAvFormat.c | |
19 | @@ -112,7 +112,9 @@ void xbmc_read_frame_flush(AVFormatContext *s) | |
20 | #define RELATIVE_TS_BASE (INT64_MAX - (1LL<<48)) | |
21 | if(st->first_dts == AV_NOPTS_VALUE) st->cur_dts = RELATIVE_TS_BASE; | |
22 | else st->cur_dts = AV_NOPTS_VALUE; /* we set the current DTS to an unspecified origin */ | |
23 | +#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(55,0,0) | |
24 | st->reference_dts = AV_NOPTS_VALUE; | |
25 | +#endif | |
26 | ||
27 | st->probe_packets = MAX_PROBE_PACKETS; | |
28 | #endif | |
29 | -- | |
30 | 1.8.5.5 | |
31 |