[03/13] rtpdec_h264: Make a parameter pointer const

Message ID 1424378051-6607-3-git-send-email-martin@martin.st
State Committed
Commit bb8c6ac840afa69dd37860fdf85da9f4cf1e0ae4
Headers show

Commit Message

Martin Storsjö Feb. 19, 2015, 8:34 p.m.
---
 libavformat/rtpdec_h264.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Luca Barbato Feb. 19, 2015, 9:03 p.m. | #1
On 19/02/15 21:34, Martin Storsjö wrote:
>  1 file changed, 1 insertion(+), 1 deletion(-)

Ok.

Patch

diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index d24fa32..8dab0d2 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -94,7 +94,7 @@  static void parse_profile_level_id(AVFormatContext *s,
 
 static int parse_sprop_parameter_sets(AVFormatContext *s,
                                       AVCodecContext *codec,
-                                      char *value)
+                                      const char *value)
 {
     char base64packet[1024];
     uint8_t decoded_packet[1024];