Commit c6286279 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'c7d9b473'

* commit 'c7d9b473':
  cdgraphics: do not return 0 from the decode function
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 91b4ed09 c7d9b473
......@@ -353,10 +353,9 @@ static int cdg_decode_frame(AVCodecContext *avctx,
*got_frame = 1;
} else {
*got_frame = 0;
buf_size = 0;
}
return buf_size;
return avpkt->size;
}
static av_cold int cdg_decode_end(AVCodecContext *avctx)
......
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