mpegts: fix Continuity Counter error detection
authorJindrich Makovicka <makovick@gmail.com>
Thu, 30 Jun 2011 09:03:15 +0000 (09:03 +0000)
committerReinhard Tartler <siretart@tauware.de>
Sat, 5 Nov 2011 12:18:32 +0000 (13:18 +0100)
commit002e6d185c3febb60131be23907210f35fdf0cb8
tree642a379002d0bbb55d859c194ed6572f01507557
parent81d5ceff04985c71a5bc84f7c88a6487c0afaf61
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>
(cherry picked from commit 8923cfa328e8eb565aebcfe8672b276fd1c19bf7)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/mpegts.c