Michael Niedermayer
f054d1e7ae
avformat/hdsenc: Use av_mallocz_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c89f8f80cc
avformat/hdsenc: check mkdir() return code
...
This also returns failure if the mkdir failure is not due to an already existing
path.
Fixed CID1135749
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
797f2a7913
hdsenc: Check the init_file() return code
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
b8ed15d637
hdsenc: Fix an off by one error in an array size check
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
417927af3c
hdsenc: Avoid integer overflow
...
Also remove a silly leftover pair of parentheses.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
3dbf9afe85
libavformat/hdsenc: check init_file() return code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
6722e564a8
avformat/hdsenc: fix off by 1 error in array size check
...
Fixes CID1135763, CID1135764
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
572965c9a6
avformat/hdsenc: fix unintentional integer overflow in hds_write_packet()
...
Fixes CID1135762
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
95d2fc6a76
avformat/hdsenc: Check rename() return value
...
Fixes CID1135748
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Martin Storsjö
435214a757
Add an HDS live fragmenting muxer
...
HDS fragments basically are FLV fragments wrapped in an ISO
media mdat atom.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago