1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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

Originally committed as revision 5293 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Wolfgang Scherer 2006-04-15 12:52:01 +00:00 committed by Diego Biurrun
parent 04f40508b2
commit 60dfd14778

View File

@ -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);