Closed Abs62 closed 8 years ago
Does this happen for all videos or just some videos?
The only reason I can see this happening is if the video has a palette.
@myrsloik / @tgoyne does FFMS2 even support palette images?
This calling of av_image_alloc() is not related to video format, function called with FFMS_PIX_FMT(GRAY8) format parameter.
Oh, it seems you're right .FFmpeg made an silent API break. Lovely. Will fix it.
FFMS2 don't open video when compiled with last FFMpeg from git - "Could not allocate dummy frame" error. It seems it is after commit 0eb4092c1bf4d74c3b9a65fb0dbe4f90d3a316d0 in FFMpeg (14.02.2016). If to change alignment from 1 to 4 in av_image_alloc() calling in the FFMS_VideoSource constructor, no more error, video opened.