Mercurial > libavcodec.hg
view libxvid_internal.h @ 6016:5455f4e43948 libavcodec
Make h264 decoder conform to requirements of mpegvideo's MPV_frame_start.
Namely, that it should not be called if you are starting to decode a B
frame without any reference pictures.
Prevents an endless allocation cycle in MPV_frame_start that will end in
picture buffer overflow and abort.
Fixes roundup issue 216.
author | heydowns |
---|---|
date | Fri, 14 Dec 2007 05:37:23 +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 */