Mercurial > mplayer.hg
view mpbswap.h @ 24552:c9c2e550a449
MPEG-2 blocks at qp 1 get overfiltered by spp, apparently because "qp>>1" turns
it into 0, which causes an integer overflow later. Clip qp at 1 to avoid this.
patch by Alexander Strange, astrange ithinksw com
author | diego |
---|---|
date | Tue, 18 Sep 2007 14:08:08 +0000 |
parents | 2606b8c645de |
children | 4129c8cfa742 |
line wrap: on
line source
#ifndef MPBSWAP_H #define MPBSWAP_H #include "libavutil/bswap.h" #ifndef HAVE_SWAB void swab(const void *from, void *to, ssize_t n); #endif #endif /* MPBSWAP_H */