changeset 5480:42d058e5d7b5 libavformat

Rename internal function sdp_read_packet -> rtsp_fetch_packet This way describes slightly better what it does.
author lu_zero
date Wed, 30 Dec 2009 16:19:28 +0000
parents 17744e7f9e4c
children 999956f447c9
files rtsp.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Mon Dec 28 13:41:09 2009 +0000
+++ b/rtsp.c	Wed Dec 30 16:19:28 2009 +0000
@@ -615,7 +615,7 @@
     }
 }
 
-static int sdp_read_packet(AVFormatContext *s, AVPacket *pkt)
+static int rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt)
 {
     RTSPState *rt = s->priv_data;
     int ret, len;
@@ -1626,7 +1626,7 @@
         }
     }
 
-    ret = sdp_read_packet(s, pkt);
+    ret = rtsp_fetch_packet(s, pkt);
     if (ret < 0) {
         return ret;
     }
@@ -1811,6 +1811,6 @@
     sizeof(RTSPState),
     sdp_probe,
     sdp_read_header,
-    sdp_read_packet,
+    rtsp_fetch_packet,
     sdp_read_close,
 };