Merge "ivfenc: fix two-pass support of raw files"

This commit is contained in:
John Koleszar 2010-06-14 05:54:47 -07:00 коммит произвёл Code Review
Родитель 1856f2213d df2c62d357
Коммит 6f47a34613
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -950,7 +950,7 @@ int main(int argc, const char **argv_)
SHOW(kf_max_dist); SHOW(kf_max_dist);
} }
if(pass == 0) { if(pass == (one_pass_only ? one_pass_only - 1 : 0)) {
if (file_type == FILE_TYPE_Y4M) if (file_type == FILE_TYPE_Y4M)
/*The Y4M reader does its own allocation. /*The Y4M reader does its own allocation.
Just initialize this here to avoid problems if we never read any Just initialize this here to avoid problems if we never read any