[MPlayer-dev-eng] mencoder problems with large video frames (in this case huffyuv)

Loren Merritt lorenm at u.washington.edu
Mon Jun 25 19:51:37 CEST 2007


On Mon, 25 Jun 2007, Øyvind Vågen Jægtnes wrote:

> But when i playback with mplayer i get errors like this:
> Error generating huffman table, 13
> Error while decoding frame!
> Error generating huffman table, 13
> Error while decoding frame!
> Error generating huffman table, 10
> Error while decoding frame!
> Error generating huffman table, 47
> Error while decoding frame!
>
> The number after the errors comes from me editing the line 256 in
> libavcodec/huffyuv.c to:
> av_log(NULL, AV_LOG_ERROR, "Error generating huffman table, %i\n", bits);
> just to see what number it stumbles on.

Wait, you're saying that

     if(bits & 1){
         av_log(NULL, AV_LOG_ERROR, "Error generating huffman table, %i\n", bits);
         return -1;
     }

printed 10? See a problem with the arithmetic there?

--Loren Merritt


More information about the MPlayer-dev-eng mailing list