http://bugs.winehq.org/show_bug.cgi?id=58425
--- Comment #4 from mkrsym1@gmail.com --- Created attachment 78875 --> http://bugs.winehq.org/attachment.cgi?id=78875 Test program
Here is a test program that demonstrates the problem in a very exaggerated way, by splitting the last NALU in every AU in half. Test steps: 1. Recode a video to Annex B with e.g. `ffmpeg -i input_video -c:v libx264 -x264-params 'annexb=1:aud=1' -f h264 test.h264`. 2. Try decoding the video with `test_align.exe test.h264 out.bin` on Wine 10.11. If using avdec_h264, you will get lots of buffer overread errors. Verify artifacts with `ffplay -f rawvideo -video_size WxH out.bin`. 3. Try decoding the video on Windows in the same way. Verify that there aren't any artifacts with ffplay. 4. Try decoding the video on Wine again, but with the abovementioned patch. Verify that the characteristic artifacts are not there anymore.
Sidenote: when decoding on Wine, there often appears a green strip at the bottom of the video. That does not depend on whether the video was "preprocessed", so it's a different bug.