Mercurial > libavformat.hg
diff flvenc.c @ 2756:8258fb5a6aa0 libavformat
Honor the 8bit extension (now 32bit instaed 24bit) of the pts field introduced in FLV specification v9.
author | alex |
---|---|
date | Fri, 16 Nov 2007 00:09:34 +0000 |
parents | bb9c77d499dd |
children | d52c718e83f9 |
line wrap: on
line diff
--- a/flvenc.c Thu Nov 15 23:53:19 2007 +0000 +++ b/flvenc.c Fri Nov 16 00:09:34 2007 +0000 @@ -307,7 +307,8 @@ put_be24(pb,size + flags_size); put_be24(pb,pkt->pts); - put_be32(pb,flv->reserved); + put_byte(pb,pkt->pts >> 24); + put_be24(pb,flv->reserved); put_byte(pb,flags); if (enc->codec_id == CODEC_ID_VP6) put_byte(pb,0);