Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-08-02 14:42:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-02 14:42:40 +0400
commit7653eae3811c6bd000ed9d12cfbb95f2d314bc6a (patch)
tree0533c7de8e494be162521be201512307b84830eb
parent63d071cc3a0c563adc919ae3ab606e235ed2a7d4 (diff)
improve not very helpful error message.
-rw-r--r--source/blender/imbuf/intern/anim_movie.c6
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;
}