You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-04-24 04:44:54 +02:00
752faebaa6
fopen() with "r" opens the file in text mode, which on Windows translates \r\n to \n, corrupting raw NV12 pixel data. Use "rb" to open in binary mode, matching the output file which already uses "w+b". Signed-off-by: Jun Zhao <barryjzhao@tencent.com>