Hi,

On Sat, Nov 26, 2011 at 7:45 PM, Alex Converse <[email protected]> wrote:
> ---
>  libavformat/mov.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index 356a5e8..c883de3 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -89,7 +89,7 @@ static int mov_metadata_int8_bypass_padding(MOVContext *c, 
> AVIOContext *pb,
>     avio_r8(pb);
>     avio_r8(pb);
>
> -    snprintf(buf, sizeof(buf), "%hu", avio_r8(pb));
> +    snprintf(buf, sizeof(buf), "%d", avio_r8(pb));
>     av_dict_set(&c->fc->metadata, key, buf, 0);
>
>     return 0;
> @@ -100,7 +100,7 @@ static int mov_metadata_int8_no_padding(MOVContext *c, 
> AVIOContext *pb,
>  {
>     char buf[16];
>
> -    snprintf(buf, sizeof(buf), "%hu", avio_r8(pb));
> +    snprintf(buf, sizeof(buf), "%d", avio_r8(pb));
>     av_dict_set(&c->fc->metadata, key, buf, 0);
>
>     return 0;

LGTM.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to