This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Start continuity counter at 0 for pmt as well
Originally committed as revision 22350 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Baptiste Coudurier
15 years ago
parent
f0a912d3b8
commit
677a1144b0
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavformat/mpegtsenc.c
+1
-1
tests/ref/lavf/ts
+ 1
- 0
libavformat/mpegtsenc.c
View File
@@ -397,6 +397,7 @@ static int mpegts_write_header(AVFormatContext *s)
DEFAULT_PROVIDER_NAME, service_name);
service->pmt.write_packet = section_write_packet;
service->pmt.opaque = s;
service->pmt.cc = 15;
ts->pat.pid = PAT_PID;
ts->pat.cc = 15; // Initialize at 15 so that it wraps and be equal to 0 for the first packet we write
+ 1
- 1
tests/ref/lavf/ts
View File
@@ -1,3 +1,3 @@
cb7713f07c94ae0fe68a030cc5f13398
*./tests/data/lavf/lavf.ts
29be47a2d7aa99c7840430ba313509d3
*./tests/data/lavf/lavf.ts
428452 ./tests/data/lavf/lavf.ts
./tests/data/lavf/lavf.ts CRC=0x133216c1
Write
Preview
Loading…
Cancel
Save