On 04/08/14 02:50, Timothy Gu wrote:
> On Aug 3, 2014 2:42 PM, "Luca Barbato" <[email protected]> wrote:
>>
>> The specification says the value is expressed in 10bit including,
>> the 4bytes crc.
>> ---
>>
>> Now with the correct value, hopefully.
>>
>>  libavformat/mpegtsenc.c | 10 +++++++---
>>  1 file changed, 7 insertions(+), 3 deletions(-)
>>
>> diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
>> index 838702e..b297280 100644
>> --- a/libavformat/mpegtsenc.c
>> +++ b/libavformat/mpegtsenc.c
>> @@ -89,6 +89,10 @@ typedef struct MpegTSWrite {
>>  #define DEFAULT_PES_HEADER_FREQ 16
>>  #define DEFAULT_PES_PAYLOAD_SIZE ((DEFAULT_PES_HEADER_FREQ - 1) * 184 +
> 170)
>>
> 
>> +/* the section_lenght is 12bit, first 2 set to 0, the remaining 10bit
> 
> s/ht/th/
> 

Thanks !

lu

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

Reply via email to