changeset 32610:2e5c286a464a

Replace memcpy with memove since at least src==dst is possible. Fixes another issue that is part of bug #1280.
author reimar
date Sat, 11 Dec 2010 23:19:13 +0000
parents 3ca30fb56837
children 3f043f0a4ac9
files libmpdemux/demux_ts.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Sat Dec 11 23:15:48 2010 +0000
+++ b/libmpdemux/demux_ts.c	Sat Dec 11 23:19:13 2010 +0000
@@ -3180,7 +3180,7 @@
 			}
 			else
 			{
-				memcpy(es->start, p, sz);
+				memmove(es->start, p, sz);
 
 				if(es->size)
 					return es->size;