diff options
author | Wolfgang Scherer <Wolfgang.Scherer@gmx.de> | 2006-04-15 12:52:01 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-04-15 12:52:01 +0000 |
commit | 60dfd147786ff8838d401b21dd71a30eebb75b53 (patch) | |
tree | a74920c1ed8c50d26bbbfff1d711c3cadc8b5374 | |
parent | 04f40508b258b4a1dbd77aaaffa7bec5be9a37db (diff) | |
download | ffmpeg-60dfd147786ff8838d401b21dd71a30eebb75b53.tar.gz |
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
-rw-r--r-- | libavcodec/rv10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index dbc7b62847..daec2b85bc 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -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); |