diff options
Diffstat (limited to 'libavcodec/roqvideo.c')
-rw-r--r-- | libavcodec/roqvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/roqvideo.c b/libavcodec/roqvideo.c index eb8fc253ad..8eda93c13c 100644 --- a/libavcodec/roqvideo.c +++ b/libavcodec/roqvideo.c @@ -115,7 +115,7 @@ static inline void apply_motion_generic(RoqContext *ri, int x, int y, int deltax return; } - if (ri->last_frame->data[0] == NULL) { + if (!ri->last_frame->data[0]) { av_log(ri->avctx, AV_LOG_ERROR, "Invalid decode type. Invalid header?\n"); return; } |