Mercurial > libavformat.hg
view gxf.h @ 1837:7b64dd81b38d libavformat
replace the auto array "duration_error" with a malloced array.
prevents stack overflow on some plateforms
patch by Kristian Amlie %kristian A gridmedia P com %
Original thread:
Date: Mar 1, 2007 11:29 PM
Subject: [Ffmpeg-devel] Stack overflow patch
author | gpoirier |
---|---|
date | Fri, 02 Mar 2007 13:23:06 +0000 |
parents | 0899bfe4105c |
children | 47f5906c30cc |
line wrap: on
line source
/* * GXF demuxer * copyright (c) 2006 Reimar Doeffinger * * 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_GXF_H #define FFMPEG_GXF_H /* gxf.c */ typedef enum { PKT_MAP = 0xbc, PKT_MEDIA = 0xbf, PKT_EOS = 0xfb, PKT_FLT = 0xfc, PKT_UMF = 0xfd } pkt_type_t; #endif /* FFMPEG_GXF_H */