]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
transcode: context - fix compilation error
authorJaroslav Kysela <perex@perex.cz>
Wed, 13 Sep 2017 17:07:44 +0000 (19:07 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 13 Sep 2017 17:07:44 +0000 (19:07 +0200)
src/transcoding/transcode/context.c

index fcd2725f3c734ce0b4b97ff3b961344deea1c818..a035bafa3d377dd77a15e91b1c0926318e6376bd 100644 (file)
@@ -611,7 +611,7 @@ tvh_context_open_filters(TVHContext *self,
 
     if (ret >= 0 && tvhtrace_enabled()) {
         char *graph = avfilter_graph_dump(self->avfltgraph, NULL);
-        char *str, *token, *saveptr;
+        char *str, *token, *saveptr = NULL;
         for (str = graph; ; str = NULL) {
           token = strtok_r(str, "\n", &saveptr);
           if (token == NULL)