Mercurial > libavcodec.hg
view libxvid_internal.h @ 5960:94fa03139210 libavcodec
Fix nodes[nb_codes*2-1].count being uninitialized and used to initialize
nodes[nb_codes*2-2].count (thus making that invalid as well) in
ff_huff_build_tree.
Might fix some (hard to reproduce) crashes in VP6 decoder.
author | reimar |
---|---|
date | Sat, 01 Dec 2007 09:39:59 +0000 |
parents | 1d83e9c34641 |
children | 25dcd46b8160 |
line wrap: on
line source
/* * copyright (C) 2006 Corey Hickey * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef FFMPEG_LIBXVID_INTERNAL_H #define FFMPEG_LIBXVID_INTERNAL_H /** * @file libxvid_internal.h * common functions for use with the XviD wrappers */ int av_tempfile(char *prefix, char **filename); #endif /* FFMPEG_LIBXVID_INTERNAL_H */