On Tue, 24 May 2016, Anton Khirnov wrote:

Quoting Martin Storsjö (2016-05-24 10:21:32)
This is only used for logging a human readable codec name for
debugging.
---
 libavformat/rtsp.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 9e8733a..2a40abc 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -242,7 +242,7 @@ static int sdp_parse_rtpmap(AVFormatContext *s,
     AVCodecParameters *par = st->codecpar;
     char buf[256];
     int i;
-    AVCodec *c;
+    AVCodecDescriptor *desc;

Should be const I think.

Pushed with const added.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to