wmvenc: check if width is multiple of 2
authorPiotr Bandurski <ami_stuff@o2.pl>
Sun, 13 May 2012 01:31:52 +0000 (03:31 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 May 2012 17:30:32 +0000 (19:30 +0200)
commit6108e1be2fb97bdfa63e8f9a039b8daff3caec3d
treec659fa5709f5981f7d76c12367822a423819c967
parentca297513f034198029084b4af33ac4c29ab83bce
wmvenc: check if width is multiple of 2

The width of wmv1/2 video must be multiple of 2 or win32 codec will fail to decode it (WMP displays black screen).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo_enc.c