Commit db2a8ebc authored by diego's avatar diego

Fix SIGSEGV in rv10-null-pointer-500k.rm.

patch by Wolfgang Scherer, Wolfgang__ . __Scherer__ @ __gmx__ . __de


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5293 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bf42b375
......@@ -737,7 +737,7 @@ static int rv10_decode_frame(AVCodecContext *avctx,
rv10_decode_packet(avctx, buf, buf_size);
}
if(s->mb_y>=s->mb_height){
if(s->current_picture_ptr != NULL && s->mb_y>=s->mb_height){
ff_er_frame_end(s);
MPV_frame_end(s);
......
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