aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-12-09 20:45:27 +0200
committerMartin Storsjö <martin@martin.st>2012-12-10 11:58:25 +0200
commit0d85663a474279de33e4ad1c875d010c09070bc9 (patch)
tree568008ba6568614d89bb20d7a365e0ee841a9d68
parentf9e493c6f5bd722b4d1ff6c31431798e140dae5c (diff)
downloadffmpeg-0d85663a474279de33e4ad1c875d010c09070bc9.tar.gz
rtpdec: Rename a static variable to normal naming conventions
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/rtpdec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 38ce7f62d4..d20c626a06 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -59,12 +59,12 @@ static RTPDynamicProtocolHandler opus_dynamic_handler = {
};
/* statistics functions */
-static RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler = NULL;
+static RTPDynamicProtocolHandler *rtp_first_dynamic_payload_handler = NULL;
void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler)
{
- handler->next = RTPFirstDynamicPayloadHandler;
- RTPFirstDynamicPayloadHandler = handler;
+ handler->next = rtp_first_dynamic_payload_handler;
+ rtp_first_dynamic_payload_handler = handler;
}
void av_register_rtp_dynamic_payload_handlers(void)
@@ -108,7 +108,7 @@ RTPDynamicProtocolHandler *ff_rtp_handler_find_by_name(const char *name,
enum AVMediaType codec_type)
{
RTPDynamicProtocolHandler *handler;
- for (handler = RTPFirstDynamicPayloadHandler;
+ for (handler = rtp_first_dynamic_payload_handler;
handler; handler = handler->next)
if (!av_strcasecmp(name, handler->enc_name) &&
codec_type == handler->codec_type)
@@ -120,7 +120,7 @@ RTPDynamicProtocolHandler *ff_rtp_handler_find_by_id(int id,
enum AVMediaType codec_type)
{
RTPDynamicProtocolHandler *handler;
- for (handler = RTPFirstDynamicPayloadHandler;
+ for (handler = rtp_first_dynamic_payload_handler;
handler; handler = handler->next)
if (handler->static_payload_id && handler->static_payload_id == id &&
codec_type == handler->codec_type)