Skip to content

Commit

Permalink
r.out.mpeg fails because the output file name is empty
Browse files Browse the repository at this point in the history
This fix copies the output file name to the correct variable, as in GRASS 6
  • Loading branch information
metzm committed May 24, 2019
1 parent a9d7236 commit 78e9da1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions raster/r.out.mpeg/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Brad Douglas <rez touchofmadness.com>, Markus Neteler <neteler itc.it>,
* Glynn Clements <glynn gclements.plus.com>, Hamish Bowman <hamish_b yahoo.com>,
* Jan-Oliver Wagner <jan intevation.de>, Paul Kelly <paul-grass stjohnspoint.co.uk>
* Paolo Zatelli <paolo.zatelli unitn.it>
*
* PURPOSE: combines a series of GRASS raster maps into a single MPEG-1
* COPYRIGHT: (C) 1999-2006, 2011 by the GRASS Development Team
*
Expand Down Expand Up @@ -142,6 +144,9 @@ int main(int argc, char **argv)

parse_command(viewopts, vfiles, &numviews, &frames);

/* output file */
strcpy(outfile, out->answer);

r_out = 0;
if (conv->answer)
r_out = 1;
Expand Down

0 comments on commit 78e9da1

Please sign in to comment.