aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dxva2_mpeg2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-15 15:58:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-16 03:01:15 +0200
commit3896cd11a107f241f06b06a336322aef2f372fdd (patch)
tree238ba0993f44424cc96742479a2aef717a52ca69 /libavcodec/dxva2_mpeg2.c
parent1fe45903b81fd7c3c81292723affac7de4f4e4ee (diff)
downloadffmpeg-3896cd11a107f241f06b06a336322aef2f372fdd.tar.gz
mxfenc: explicitly truncate continuity count.
The field is intended to overflow and have only its low 16bits stored. This commit avoids the implicit truncation and clarifies that its intended and not a bug S326m section 7.6 ("Continuity count"): > The continuity count word consists of 2 bytes allow- > ing a number to be created by a modulo 65536 > counter (bits C15 to C0 in figure 7). The continuity > count shall increment by 1 for each newly transmit- > ted content package with the same SDTI source and > destination addresses. The continuity count may > be used to detect whether the content package > sequence has been broken by an operation such as > a routing switch. Approved-by: Tjoppen Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dxva2_mpeg2.c')
0 files changed, 0 insertions, 0 deletions