X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffiletiff.C;h=fc24b384de73b7108c54d9c93b45cb2f57370761;hb=d51dc1ff2dbd920c6488af4380b8064c9b6a7b4c;hp=31a4bb7bb6ce88a39675d55a21ac006f57d7d919;hpb=c6c20a38b77598f0e9c7056c40dcd8ef4ee35df6;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/filetiff.C b/cinelerra-5.1/cinelerra/filetiff.C index 31a4bb7b..fc24b384 100644 --- a/cinelerra-5.1/cinelerra/filetiff.C +++ b/cinelerra-5.1/cinelerra/filetiff.C @@ -323,6 +323,9 @@ int FileTIFF::read_frame(VFrame *output, VFrame *input) tiff_mmap, tiff_unmap); + if(!stream) + return 0; + // This loads the original TIFF data into each scanline of the output frame, // assuming the output scanlines are bigger than the input scanlines. // Then it expands the input data in reverse to fill the row.