diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2009-12-30 16:19:28 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2009-12-30 16:19:28 +0000 |
commit | d7250724ef11253a1e81a6eef120b802891b7ae0 (patch) | |
tree | 1097a0657951a24ee2c98d19791992fcb7a17b05 | |
parent | 20390e31702b421bc2aa73bc03eeb49569a0dc25 (diff) | |
download | ffmpeg-d7250724ef11253a1e81a6eef120b802891b7ae0.tar.gz |
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
-rw-r--r-- | libavformat/rtsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 3e0cb2b610..b2910ec3d3 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -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, }; |