diff wmv2dec.c @ 9004:aae80543bc6e libavcodec

Check return value of frame_start(), this avoids a crash if AVCodecContext::get_buffer failed. Not sure if returning -1 is the best possible solution but at least avoids the crash.
author reimar
date Sun, 22 Feb 2009 09:51:58 +0000
parents 04423b2f6e0b
children 0f95e4f0a3f5
line wrap: on
line diff