summaryrefslogtreecommitdiff
path: root/mj2
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2005-03-25 13:44:54 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2005-03-25 13:44:54 +0000
commit10aee43cbc0a924aa6f85f9de678d3c46054baf4 (patch)
tree9c0dac3353578f9fcd40be1d2fdf07deb89abedd /mj2
parent7e2e09e2a97313f0b517685cdcc4d79da0875ff6 (diff)
Replaced bad message error when unknown box is found
Diffstat (limited to 'mj2')
-rw-r--r--mj2/mj2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mj2/mj2.c b/mj2/mj2.c
index bcd378c2..33b970c8 100644
--- a/mj2/mj2.c
+++ b/mj2/mj2.c
@@ -2707,7 +2707,7 @@ int mj2_read_struct(FILE *file, mj2_movie_t * movie) {
case MJ2_SKIP:
fsresult = fseek(file,foffset+box.length,SEEK_SET);
if( fsresult ) {
- fprintf(stderr, "End of file reached while trying to read SKIP bo\nx" );
+ fprintf(stderr, "End of file reached while trying to read SKIP box\n" );
return 1;
}
foffset += box.length;
@@ -2716,7 +2716,7 @@ int mj2_read_struct(FILE *file, mj2_movie_t * movie) {
fprintf(stderr, "Unknown box in MJ2 stream\n");
fsresult = fseek(file,foffset+box.length,SEEK_SET);
if( fsresult ) {
- fprintf(stderr, "End of file reached while trying to read %s box\n", box.type );
+ fprintf(stderr, "End of file reached while trying to read end of unknown box\n");
return 1;
}
foffset += box.length;