Martin Storsjö
d596f2b322
rtpdec: Make variables that should wrap unsigned
...
This makes the behaviour defined when they wrap around. The value
assigned to expected_prior was a uint32_t already.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
ba0c72a9ae
build: Remove stray Makefile entry for non-existent VCR1 encoder
12 years ago
Martin Storsjö
30b50f79ae
rtpdec: Handle more received packets than expected when sending RR
...
Without this, we'd signal a huge loss rate (due to unsigned
wraparound) if we had received one packet more than expected (that
is, one seq number sent twice). The code has a check for lost_interval
<= 0, but that doesn't do what was intended as long as the variable is
unsigned.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
d0fe217e39
rtpdec: Simplify insertion into the linked list queue
...
By using a pointer-to-pointer, we avoid having to keep track
of the previous packet separately.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
62761934b0
rtpdec: Remove a woefully misplaced comment
...
The code below the comment does not at all relate to statistics,
and even if moved to the right place, the comment adds little
value.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
922332e60d
nuv: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
7980cca05c
init_get_bits: fix off by 1 error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
153fad14e5
init_get_bits8: zero pointers & struct on error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ac73d3a12a
init_get_bits8: check byte_size against being positive
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
c29c7c1470
The c99-to-c89 binaries are now hosted on videolan.org.
12 years ago
Michael Niedermayer
57d59e82cb
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
rtmpproto: Fix assignments in if()
lavf: Fix assignments in if()
svq1enc: Fix assignments in if()
lavc: Fix assignments in if() when calling ff_af_queue_add
h264: Fix assignments in if()
truemotion2: cosmetics, reformat
Conflicts:
libavcodec/svq1enc.c
libavcodec/truemotion2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
92b2387159
Merge commit 'df9036830b15997a3e9c3f2c632ed98d64f9deef'
...
* commit 'df9036830b15997a3e9c3f2c632ed98d64f9deef':
truemotion2: return meaningful error codes.
tscc: remove some pointless comments and empty lines.
tscc: return meaningful error codes.
loco: cosmetics, reformat
Conflicts:
libavcodec/truemotion2.c
libavcodec/tscc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f9d5bdd0f6
Merge commit '1a31dff9370b4732c91df5cb1ca4b39f2cb3050e'
...
* commit '1a31dff9370b4732c91df5cb1ca4b39f2cb3050e':
loco: return meaningful error codes.
flicvideo: return meaningful error codes.
vcr1: remove disabled encoder stub
Conflicts:
libavcodec/flicvideo.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4adc8a29a0
Merge commit '74a9a624c5c4d50760d8d57458eba57366f6cb26'
...
* commit '74a9a624c5c4d50760d8d57458eba57366f6cb26':
vcr1: return a meaningful error code.
rpza: return a meaningful error code.
qdrw: cosmetics, reformat
Conflicts:
libavcodec/qdrw.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8943925d1f
Merge commit '688b132b881d423877e38dc82f17e23a604be676'
...
* commit '688b132b881d423877e38dc82f17e23a604be676':
qdrw: return meaningful error codes.
qtrle: return a meaningful error code.
gifdec: return meaningful error codes.
interplayvideo: remove a static variable.
interplayvideo: return meaningful error codes.
lcldec: return meaningful error codes.
targa: return meaningful error codes.
qpeg: return a meaningful error code.
nuv: return meaningful error codes.
Conflicts:
libavcodec/gifdec.c
libavcodec/interplayvideo.c
libavcodec/nuv.c
libavcodec/qpeg.c
libavcodec/targa.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
329675cfd7
Merge commit 'a1c525f7eb0783d31ba7a653865b6cbd3dc880de'
...
* commit 'a1c525f7eb0783d31ba7a653865b6cbd3dc880de':
pcx: return meaningful error codes.
tmv: return meaningful error codes.
msrle: return meaningful error codes.
cscd: return meaningful error codes.
yadif: x86: fix build for compilers without aligned stack
lavc: introduce the convenience function init_get_bits8
lavc: check for overflow in init_get_bits
Conflicts:
libavcodec/cscd.c
libavcodec/pcx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a646ac8ef5
Merge commit '90cfc084e3e6d37ab88fc96a95f0401d8e8b4cd1'
...
* commit '90cfc084e3e6d37ab88fc96a95f0401d8e8b4cd1':
avpacket: free side data in av_free_packet().
v4l2: do not assert on a value received from outside of Libav
v4l2: set the average framerate instead of codec timebase.
Conflicts:
libavcodec/avpacket.c
libavdevice/v4l2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
53c2f401f7
Merge commit '246da0b13551b1f80f067e4f258e5bd691f5ab33'
...
* commit '246da0b13551b1f80f067e4f258e5bd691f5ab33':
v4l2: avoid pointless indirection.
vdpau: Add VC-1 decoding via hwaccel infrastructure
vdpau: Add H.264 decoding via hwaccel infrastructure
Conflicts:
configure
libavcodec/Makefile
libavcodec/version.h
libavdevice/v4l2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
41bdef1d39
Merge commit '200e8ac92007bc2fe30da05d3bd00ab620842a6b'
...
* commit '200e8ac92007bc2fe30da05d3bd00ab620842a6b':
vdpau: Add MPEG-4 decoding via hwaccel infrastructure
vdpau: Add MPEG-1/2 decoding via hwaccel infrastructure
Conflicts:
configure
libavcodec/Makefile
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8ee7b3881b
Merge commit '44e065d56c87d6a9d0effccec5f31517f72924ec'
...
* commit '44e065d56c87d6a9d0effccec5f31517f72924ec':
vdpau: Add context and common helpers for hwaccel support
Conflicts:
Changelog
doc/APIchanges
libavcodec/vdpau.h
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6dc8505417
rtmpproto: Fix assignments in if()
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
d641ee94b5
lavf: Fix assignments in if()
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
30aeada3d8
svq1enc: Fix assignments in if()
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
1d7ffd06e4
lavc: Fix assignments in if() when calling ff_af_queue_add
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
59d5680310
h264: Fix assignments in if()
...
Fixes null pointer dereference later, since if this function failed,
a positive return value was returned to the caller.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
60a42ef44c
truemotion2: cosmetics, reformat
12 years ago
Anton Khirnov
df9036830b
truemotion2: return meaningful error codes.
12 years ago
Anton Khirnov
a4a26f5188
tscc: remove some pointless comments and empty lines.
12 years ago
Anton Khirnov
ac1e93f555
tscc: return meaningful error codes.
12 years ago
Anton Khirnov
b627c3010b
loco: cosmetics, reformat
12 years ago
Anton Khirnov
1a31dff937
loco: return meaningful error codes.
12 years ago
Anton Khirnov
a9d970a019
flicvideo: return meaningful error codes.
12 years ago
Anton Khirnov
6b3a1229bb
vcr1: remove disabled encoder stub
12 years ago
Anton Khirnov
74a9a624c5
vcr1: return a meaningful error code.
12 years ago
Anton Khirnov
e4ca055b3c
rpza: return a meaningful error code.
12 years ago
Anton Khirnov
80cf2ebc59
qdrw: cosmetics, reformat
12 years ago
Anton Khirnov
688b132b88
qdrw: return meaningful error codes.
12 years ago
Anton Khirnov
8f17829455
qtrle: return a meaningful error code.
12 years ago
Anton Khirnov
048ffb9bb2
gifdec: return meaningful error codes.
12 years ago
Anton Khirnov
3d973e461b
interplayvideo: remove a static variable.
12 years ago
Anton Khirnov
089b3d6815
interplayvideo: return meaningful error codes.
12 years ago
Anton Khirnov
14cf33e957
lcldec: return meaningful error codes.
12 years ago
Anton Khirnov
01cbc6f6ad
targa: return meaningful error codes.
12 years ago
Anton Khirnov
62d9655217
qpeg: return a meaningful error code.
12 years ago
Anton Khirnov
3344f5cb74
nuv: return meaningful error codes.
12 years ago
Anton Khirnov
a1c525f7eb
pcx: return meaningful error codes.
12 years ago
Anton Khirnov
6bf70127d1
tmv: return meaningful error codes.
12 years ago
Anton Khirnov
9e6764900a
msrle: return meaningful error codes.
12 years ago
Anton Khirnov
8fd4d1f9b9
cscd: return meaningful error codes.
12 years ago
Daniel Kang
67360ccd51
yadif: x86: fix build for compilers without aligned stack
...
Manually load registers to avoid using 8 registers on x86_32 with
compilers that do not align the stack (e.g. MSVC).
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago