You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
Merge commit '9cbae3a7d57bd2b862c37fd8123bd1fba680e801'
* commit '9cbae3a7d57bd2b862c37fd8123bd1fba680e801': roqvideodec: use av_frame_copy Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
@ -211,7 +211,8 @@ static int roq_decode_frame(AVCodecContext *avctx,
|
||||
return ret;
|
||||
|
||||
if (copy) {
|
||||
if ((ret = av_frame_copy(s->current_frame, s->last_frame)) < 0)
|
||||
ret = av_frame_copy(s->current_frame, s->last_frame);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user