view bethsoftvideo.h @ 4841:861ff463ac61 libavcodec

add a check before find_frame_end call Patch by Limin Wang % lance P lmwang A gmail P com % Original thread: date: 04/09/2007 03:54 PM subject: [Ffmpeg-devel] [PATCH] fix segment fault in h264_parse if buf_size is zero
author benoit
date Wed, 11 Apr 2007 14:04:47 +0000
parents 2137206961c9
children 9ecbfc0c82bf
line wrap: on
line source

enum BethsoftVidBlockType
{
    PALETTE_BLOCK       = 0x02,
    FIRST_AUDIO_BLOCK   = 0x7c,
    AUDIO_BLOCK         = 0x7d,
    VIDEO_I_FRAME       = 0x03,
    VIDEO_P_FRAME       = 0x01,
    VIDEO_YOFF_P_FRAME  = 0x04,
    EOF_BLOCK           = 0x14,
};