Commit bdb4031e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

libavi: Fix expension unsafe helper

parent ad363d30
......@@ -307,8 +307,10 @@ int AVI_ChunkFetchIndexes( stream_t *s, avi_chunk_t *p_riff )
p_read += size \
#define AVI_READCHUNK_EXIT( code ) \
free( p_buff ); \
return code
do { \
free( p_buff ); \
return code; \
} while(0)
static inline uint8_t GetB( uint8_t *ptr )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment