Fixes playback with WMP 9 for files with large (rawvideo) frames as explained in ticket #2145. Fixes ticket #2818.
This may improve compatibility of lgpegs generated by libavcodec also encoded ljpegs become slightly smaller Signed-off-by: Michael Niedermayer <michaelni@gmx.at>