OSDN Git Service

rtsp: Avoid a cast when calling strtol
authorMartin Storsjö <martin@martin.st>
Mon, 22 Oct 2012 20:13:49 +0000 (23:13 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 29 Oct 2012 15:47:25 +0000 (17:47 +0200)
commitf21d5c905dd5c6a56583c85623a376a029ec041a
treee24a1829e74086702ff451dc291bcb894084fa3f
parentd4bff9f1ab59f4ae58841bd7b056f2ff1b8854d7
rtsp: Avoid a cast when calling strtol

This gets rid of this warning:

libavformat/rtsp.c: In function ‘rtsp_parse_transport’:
libavformat/rtsp.c:794: warning: cast discards qualifiers from pointer target type

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtsp.c