[Libav-user] decode_video example pgmfilesdistorted?(v4.0.2Winbuild)

Chris Bennett chris.bennett at dreamworks.com
Thu Dec 13 21:35:42 EET 2018


For anyone whom may stumble over this in the future, the issue was that
when I was saving out my .pgm files, I was opening the file with:

f = fopen(filename, "w");
and not
f = fopen(filename, "wb");

I will look into submitting an update to the example code if
possible/needed.

Chris Bennett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20181213/2648398b/attachment.html>


More information about the Libav-user mailing list