X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffiledb.C;h=301dcb611ce7bcdb8620a4cc18c996e2e4a9aed5;hb=60f8df69db9ddd8148bfc41a17bb0955b52a45e6;hp=b8c2062e37bb04e8ecc43fd3a24e903832f79e82;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/filedb.C b/cinelerra-5.1/cinelerra/filedb.C index b8c2062e..301dcb61 100644 --- a/cinelerra-5.1/cinelerra/filedb.C +++ b/cinelerra-5.1/cinelerra/filedb.C @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #include "asset.h" @@ -157,7 +157,7 @@ int FileDB::read_frame(VFrame *frame) } VFrame *fp = frame->get_w() == swidth && frame->get_h() == sheight && frame->get_color_model() == BC_YUV420P ? frame : - !vframe ? (vframe = new VFrame(swidth,sheight,BC_YUV420P)) : + !vframe ? (vframe = new VFrame(swidth,sheight,BC_YUV420P,0)) : vframe; if( !result ) { if( frame_id < 0 )