On Thu, May 05, 2016 at 12:51:52AM +0200, Diego Biurrun wrote:
> --- a/libavformat/spdifenc.c
> +++ b/libavformat/spdifenc.c
> @@ -398,15 +398,16 @@ static int spdif_header_truehd(AVFormatContext *s, 
> AVPacket *pkt)
>  {
>      IEC61937Context *ctx = s->priv_data;
>      int mat_code_length = 0;
> -    const char mat_end_code[16] = { 0xC3, 0xC2, 0xC0, 0xC4, 0x00, 0x00, 
> 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x97, 0x11 };
> +    static const char mat_end_code[16] = { 0xC3, 0xC2, 0xC0, 0xC4, 0x00, 
> 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x97, 0x11 };
>  
>      if (!ctx->hd_buf_count) {
>          const char mat_start_code[20] = { 0x07, 0x9E, 0x00, 0x03, 0x84, 
> 0x01, 0x01, 0x01, 0x80, 0x00, 0x56, 0xA5, 0x3B, 0xF4, 0x81, 0x83, 0x49, 0x80, 
> 0x77, 0xE0 };
> +        static const char mat_start_code[20] = { 0x07, 0x9E, 0x00, 0x03, 
> 0x84, 0x01, 0x01, 0x01, 0x80, 0x00, 0x56, 0xA5, 0x3B, 0xF4, 0x81, 0x83, 0x49, 
> 0x80, 0x77, 0xE0 };

stupid typo fixed locally

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

Reply via email to