From 04286fb2ad742f33ce6abd055a108483d2a2d16c Mon Sep 17 00:00:00 2001 From: Johns Date: Wed, 23 Jan 2013 21:54:56 +0100 Subject: Add video compatibility with >=ffmpeg 1.1. --- softhddev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'softhddev.c') diff --git a/softhddev.c b/softhddev.c index 3d6f021..ef4064c 100644 --- a/softhddev.c +++ b/softhddev.c @@ -2033,6 +2033,7 @@ int PlayVideo3(VideoStream * stream, const uint8_t * data, int size) stream->NewStream = 0; } // must be a PES start code + // FIXME: Valgrind-3.8.1 has a problem with this code if (size < 9 || !data || data[0] || data[1] || data[2] != 0x01) { Error(_("[softhddev] invalid PES video packet\n")); return size; -- cgit v1.2.3