[01/24] rtsp: Make rtsp_demuxer_class static

Message ID 1329310724-44294-2-git-send-email-martin@martin.st
State Committed
Commit 735be9cdfb39ac295243796a38de70cc5499f2bc
Headers show

Commit Message

Martin Storsjö Feb. 15, 2012, 12:58 p.m.
---
 libavformat/rtspdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Luca Barbato Feb. 15, 2012, 1:40 p.m. | #1
On 15/02/12 13:58, Martin Storsjö wrote:
> ---
>  libavformat/rtspdec.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
> index 785d162..80420aa 100644
> --- a/libavformat/rtspdec.c
> +++ b/libavformat/rtspdec.c
> @@ -388,7 +388,7 @@ static int rtsp_read_close(AVFormatContext *s)
>      return 0;
>  }
>  
> -const AVClass rtsp_demuxer_class = {
> +static const AVClass rtsp_demuxer_class = {
>      .class_name     = "RTSP demuxer",
>      .item_name      = av_default_item_name,
>      .option         = ff_rtsp_options,

ok

Patch

diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index 785d162..80420aa 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -388,7 +388,7 @@  static int rtsp_read_close(AVFormatContext *s)
     return 0;
 }
 
-const AVClass rtsp_demuxer_class = {
+static const AVClass rtsp_demuxer_class = {
     .class_name     = "RTSP demuxer",
     .item_name      = av_default_item_name,
     .option         = ff_rtsp_options,