mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
20390e3170
commit
d7250724ef
@ -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;
|
||||
int ret, len;
|
||||
@ -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) {
|
||||
return ret;
|
||||
}
|
||||
@ -1811,6 +1811,6 @@ AVInputFormat sdp_demuxer = {
|
||||
sizeof(RTSPState),
|
||||
sdp_probe,
|
||||
sdp_read_header,
|
||||
sdp_read_packet,
|
||||
rtsp_fetch_packet,
|
||||
sdp_read_close,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user