mpegts: fix Continuity Counter error detection
authorJindrich Makovicka <makovick@gmail.com>
Thu, 30 Jun 2011 09:03:15 +0000 (09:03 +0000)
committerAnton Khirnov <anton@khirnov.net>
Mon, 11 Jul 2011 13:24:13 +0000 (15:24 +0200)
commit8923cfa328e8eb565aebcfe8672b276fd1c19bf7
treedcd71d0ce55c6ce144aaaf8af7871fb102c46453
parentca9036155d28ed9f5a1406356316c3fd41e5a400
mpegts: fix Continuity Counter error detection

According to MPEG-TS specs, the continuity_counter shall not be
incremented when the adaptation_field_control of the packet
equals '00' or '10'.

Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/mpegts.c