]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/udp.c
pcmdec: use unique classes for all pcm demuxers.
[ffmpeg] / libavformat / udp.c
index 724ff0197d3f92b137a03b345ed1b692261818b1..bd95a811de39c3b6e51ef3d647c4ec008fdec254 100644 (file)
@@ -328,7 +328,7 @@ static int udp_open(URLContext *h, const char *uri, int flags)
     p = strchr(uri, '?');
     if (p) {
         if (av_find_info_tag(buf, sizeof(buf), "reuse", p)) {
-            const char *endptr=NULL;
+            char *endptr = NULL;
             s->reuse_socket = strtol(buf, &endptr, 10);
             /* assume if no digits were found it is a request to enable it */
             if (buf == endptr)