Commit 73157436 authored by kostya's avatar kostya

Correctly handle empty frames

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12394 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 420f4ff9
...@@ -504,6 +504,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const ...@@ -504,6 +504,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const
} else { } else {
c->pic.key_frame = 0; c->pic.key_frame = 0;
c->pic.pict_type = FF_P_TYPE; c->pic.pict_type = FF_P_TYPE;
if(c->decomp_len)
c->decode_xor(c); c->decode_xor(c);
} }
......
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