10l (obmc_scratchpad not always initialize)

patch by (Gert Vervoort <gert.vervoort at hccnet dot nl>)

Originally committed as revision 3816 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Gert Vervoort 2005-01-09 00:48:37 +00:00 committed by Loren Merritt
parent c3ea71a097
commit 9c6221ae62
1 changed files with 2 additions and 0 deletions

View File

@ -2540,6 +2540,8 @@ static int alloc_tables(H264Context *h){
}
}
s->obmc_scratchpad = NULL;
return 0;
fail:
free_tables(h);