Alexandra Hájková and Anton Khirnov
e61f39849c
asfdec: make nb_sub to be unsigned int
...
number of subpayloads should be always positive
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-07-19 09:20:01 +02:00
Alexandra Hájková and Anton Khirnov
2883ef34b5
asfdec: read the replicated data in a separate function
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-07-19 09:18:27 +02:00
Alexandra Hájková and Anton Khirnov
0989d3ad1f
asfdec: convert condition for the replicated data reading to be safer
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-07-19 09:16:28 +02:00
Alexandra Hájková and Anton Khirnov
406627287e
asfdec: do not read replicated data when their length is 0
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-07-19 08:59:48 +02:00
Alexandra Hájková and Anton Khirnov
c571424c7f
asfdec: prevent memory leaks found with Coverity Scan
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-07-13 20:27:34 +02:00
Alexandra Hájková and Luca Barbato
872fab4a3d
asfdec: Fix reading from the pipe
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2015-07-10 13:25:02 +02:00
Alexandra Hájková and Luca Barbato
016cac75c6
asfdec: prevent the infinite loop in detect unknown_subobject
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2015-07-03 01:50:09 +02:00
Alexandra Hájková and Luca Barbato
9752d2e6cc
asfdec: prevent possible memory leak in the asf_read_metadata_obj
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2015-07-03 01:50:09 +02:00
Alexandra Hájková and Anton Khirnov
b08569a239
lavf: Replace the ASF demuxer
...
The old one is the result of the reverse engineering and guesswork.
The new one has been written following the now-available specification.
This work is part of Outreach Program for Women Summer 2014 activities
for the Libav project.
The fate references had to be changed because the old demuxer truncates
the last frame in some cases, the new one handles it properly.
The seek-test reference is changed because seeking works differently
in the new demuxer. When seeking, the packet is not read from the stream
directly, but it is rather constructed by the demuxer. That is why
position is -1 now in the reference.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2015-06-28 10:16:40 +02:00
Alexandra Khirnova and Vittorio Giovara
28e508a946
dnxhddec: return proper error code
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-02-09 18:36:16 +01:00
Alexandra Khirnova and Martin Storsjö
9b8d11a76a
avcodec: Use av_reallocp where suitable
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-12-09 12:27:51 +02:00
Alexandra Khirnova and Anton Khirnov
6f270da61b
libschroedingerenc: do not assert on values from external libraries
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-11-23 12:08:53 +01:00
Alexandra Khirnova and Diego Biurrun
5626f994f2
avformat: Use av_reallocp() where suitable
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-09-18 18:28:38 +02:00
Alexandra Khirnova and Martin Storsjö
68b4677420
lavf: Make probe_codec return an error code
...
This allows handling errors from av_realloc properly.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-09-16 22:28:23 +03:00
Alexandra Khirnova and Diego Biurrun
00a63bfb87
matroskaenc: Fix stray pointers left over from av_reallocp_array refactoring
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-09-12 13:16:15 +02:00
Alexandra Khirnova and Diego Biurrun
f369b9356c
avformat: Use av_reallocp_array() where suitable
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2013-09-10 12:38:32 +02:00
Alexandra Khirnova and Anton Khirnov
7684a36113
mxfenc: switch to av_reallocp_array() and check allocation errors
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-08-04 16:49:04 +02:00
Alexandra Khirnova and Anton Khirnov
0afcf97e1e
vmdav: convert to bytestream2
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2013-03-28 08:30:38 +01:00