# HG changeset patch # User reimar # Date 1292109553 0 # Node ID 2e5c286a464ae257c50ab9f5fdfb8989e796425e # Parent 3ca30fb5683760b99fc4e725517279f2dd9308ab Replace memcpy with memove since at least src==dst is possible. Fixes another issue that is part of bug #1280. diff -r 3ca30fb56837 -r 2e5c286a464a libmpdemux/demux_ts.c --- 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;