leng_th_
On Sun, Aug 03, 2014 at 11:42:27PM +0200, Luca Barbato wrote:
> The specification says the value is expressed in 10bit including,
> the 4bytes crc.
in 10 bits including the 4-byte CRC
> --- a/libavformat/mpegtsenc.c
> +++ b/libavformat/mpegtsenc.c
> @@ -89,6 +89,10 @@ typedef struct MpegTSWrite {
>
> +/* the section_lenght is 12bit, first 2 set to 0, the remaining 10bit
> + * should not exceed 1021. */
> +#define SECTION_LENGTH 1020
The section length is 12 bits. The first 2 are set to 0, the remaining
10 bits should not exceed 1021.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel