--- mplayer/libavformat/flvenc.c 2007-03-16 17:09:17.000000000 +0000 +++ mplayer-dev/libavformat/flvenc.c 2007-03-16 17:17:57.000000000 +0000 @@ -306,7 +306,7 @@ put_be32(pb,flv->reserved); put_byte(pb,flags); if (enc->codec_id == CODEC_ID_VP6) - put_byte(pb,0); + put_byte(pb, ((16 - (enc->width % 16)) << 4) | (16 - (enc->height % 16))); if (enc->codec_id == CODEC_ID_VP6F) put_byte(pb, enc->extradata_size ? enc->extradata[0] : 0); put_buffer(pb, pkt->data, size);