diff options
Diffstat (limited to 'source/blender/imbuf/intern/anim_movie.c')
-rw-r--r-- | source/blender/imbuf/intern/anim_movie.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c index a27aae815da..9367511522d 100644 --- a/source/blender/imbuf/intern/anim_movie.c +++ b/source/blender/imbuf/intern/anim_movie.c @@ -394,7 +394,9 @@ static ImBuf *avi_fetchibuf(struct anim *anim, int position) int *tmp; int y; - if (anim == NULL) return (NULL); + if (anim == NULL) { + return NULL; + } #if defined(_WIN32) && !defined(FREE_WINDOWS) if (anim->avistreams) { @@ -418,7 +420,7 @@ static ImBuf *avi_fetchibuf(struct anim *anim, int position) AVI_get_stream(anim->avi, AVIST_VIDEO, 0)); if (tmp == NULL) { - printf("Error reading frame from AVI"); + printf("Error reading frame from AVI: '%s'\n", anim->name); IMB_freeImBuf(ibuf); return NULL; } |