libavcodec/dvdsubenc.c:121: error: Uninitialized Value
  The value read from hist[_] was never initialized.

libavcodec/dvdsubenc.c:121:17: 
119.         imax = 0;
120.         for (i=0; i<256; ++i)
121.             if (hist[i] > hmax) {
                     ^
122.                 imax = i;
123.                 hmax = hist[i];
