Skip to content
Snippets Groups Projects
Commit d7250724 authored by Luca Barbato's avatar Luca Barbato
Browse files

Rename internal function

sdp_read_packet -> rtsp_fetch_packet

This way describes slightly better what it does.

Originally committed as revision 20982 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 20390e31
No related branches found
No related tags found
No related merge requests found
...@@ -615,7 +615,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st, ...@@ -615,7 +615,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
} }
} }
static int sdp_read_packet(AVFormatContext *s, AVPacket *pkt) static int rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt)
{ {
RTSPState *rt = s->priv_data; RTSPState *rt = s->priv_data;
int ret, len; int ret, len;
...@@ -1626,7 +1626,7 @@ static int rtsp_read_packet(AVFormatContext *s, ...@@ -1626,7 +1626,7 @@ static int rtsp_read_packet(AVFormatContext *s,
} }
} }
ret = sdp_read_packet(s, pkt); ret = rtsp_fetch_packet(s, pkt);
if (ret < 0) { if (ret < 0) {
return ret; return ret;
} }
...@@ -1811,6 +1811,6 @@ AVInputFormat sdp_demuxer = { ...@@ -1811,6 +1811,6 @@ AVInputFormat sdp_demuxer = {
sizeof(RTSPState), sizeof(RTSPState),
sdp_probe, sdp_probe,
sdp_read_header, sdp_read_header,
sdp_read_packet, rtsp_fetch_packet,
sdp_read_close, sdp_read_close,
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment