aboutsummaryrefslogtreecommitdiff
path: root/lib/xbmc-dll-symbols
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@xbmc.org>2011-02-02 01:17:20 +0200
committerAnssi Hannula <anssi@xbmc.org>2011-02-03 00:03:04 +0200
commit4d8e27ceb8c6218f4dd62b381ec786650f594ac9 (patch)
treecde30e2fd6161905ecb4381c54c18d1fe83691b5 /lib/xbmc-dll-symbols
parenta082892fd086a05a07c1a62db3af6c77541fdac1 (diff)
updated: bundled flush_packet_queue from current ffmpeg
Diffstat (limited to 'lib/xbmc-dll-symbols')
-rw-r--r--lib/xbmc-dll-symbols/DllAvFormat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/xbmc-dll-symbols/DllAvFormat.c b/lib/xbmc-dll-symbols/DllAvFormat.c
index 8d50ec0a8e..31040a3e77 100644
--- a/lib/xbmc-dll-symbols/DllAvFormat.c
+++ b/lib/xbmc-dll-symbols/DllAvFormat.c
@@ -48,6 +48,10 @@ static void flush_packet_queue(AVFormatContext *s)
}
s->packet_buffer_end=
s->raw_packet_buffer_end= NULL;
+#ifdef RAW_PACKET_BUFFER_SIZE
+ // Added on: 2009-06-25
+ s->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;
+#endif
}
/* Taken from libavformat/utils.c */