~siretart/libav/merge.raring.libav-0.8.6

« back to all changes in this revision

Viewing changes to libavcodec/s3tc.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:30:00 UTC
  • mfrom: (1.4.1)
  • mto: (1.3.11 sid) (26.1.1 quantal-security)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20120112223000-s1reiy1e28hnix42
Tags: upstream-0.8~beta2
ImportĀ upstreamĀ versionĀ 0.8~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
static inline void dxt1_decode_pixels(const uint8_t *s, uint32_t *d,
29
29
                                      unsigned int qstride, unsigned int flag,
30
30
                                      uint64_t alpha) {
31
 
    unsigned int x, y, c0, c1, a = (!flag * 255) << 24;
 
31
    unsigned int x, y, c0, c1, a = (!flag * 255u) << 24;
32
32
    unsigned int rb0, rb1, rb2, rb3, g0, g1, g2, g3;
33
33
    uint32_t colors[4], pixels;
34
34