[libav-devel] [PATCH] mov: fix typo in mov_metadata_genre() function name

Justin Ruggles justin.ruggles at gmail.com
Thu Nov 3 22:26:08 CET 2011


On 11/03/2011 05:03 PM, Diego Biurrun wrote:

> ---
>  libavformat/mov.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index 2036f51..dbfeaf5 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -127,8 +127,8 @@ static int mov_metadata_int8_no_padding(MOVContext *c, AVIOContext *pb,
>      return 0;
>  }
>  
> -static int mov_metadata_gnre(MOVContext *c, AVIOContext *pb,
> -                             unsigned len, const char *key)
> +static int mov_metadata_genre(MOVContext *c, AVIOContext *pb,
> +                              unsigned len, const char *key)
>  {
>      short genre;
>      char buf[20];
> @@ -206,7 +206,7 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
>      case MKTAG(0xa9,'d','a','y'): key = "date";      break;
>      case MKTAG(0xa9,'g','e','n'): key = "genre";     break;
>      case MKTAG( 'g','n','r','e'): key = "genre";
> -        parse = mov_metadata_gnre; break;
> +        parse = mov_metadata_genre; break;
>      case MKTAG(0xa9,'t','o','o'):
>      case MKTAG(0xa9,'s','w','r'): key = "encoder";   break;
>      case MKTAG(0xa9,'e','n','c'): key = "encoder";   break;


that's not a typo, it's the tag name. either way is ok though i suppose.

-Justin


More information about the libav-devel mailing list