Andreas Rheinhardt
|
b6305a7873
|
avcodec/evc_ps: Fix size of tile_(row|column) arrays
Prevents out-of-bound writes when parsing tile row heights.
Fixes Coverity issue #1538300.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
|
2 years ago |
James Almer
|
7347b44224
|
avcodec/evc_ps: use unsigned types in structs where corresponds
Signed-off-by: James Almer <jamrial@gmail.com>
|
2 years ago |
James Almer
|
2212808a72
|
avcodec/evc_ps: pass a GetBitContext to the SPS and PPS parsing functions
This is in preparation for the following patch.
Signed-off-by: James Almer <jamrial@gmail.com>
|
2 years ago |
James Almer
|
921596e677
|
avcodec/evc_ps: make ff_evc_parse_{sps,pps} return an error code
Signed-off-by: James Almer <jamrial@gmail.com>
|
2 years ago |
James Almer
|
1e189fed7a
|
avcodec/evc_parse: split off Parameter Set parsing into its own file
Signed-off-by: James Almer <jamrial@gmail.com>
|
2 years ago |
James Almer
|
dbc4c22890
|
avcodec/evc_parse: add missing includes
Fixes make checkheaders.
Signed-off-by: James Almer <jamrial@gmail.com>
|
2 years ago |
James Almer
|
9fc1d9adc8
|
avcodec/evc_parse: make freeing EVCParserContext buffers a shared function
Signed-off-by: James Almer <jamrial@gmail.com>
|
2 years ago |
James Almer
|
44f26315c8
|
avcodec/evc_parse: use a local EVCParserSliceHeader when parsing slices
There's no need to store EVC_MAX_PPS_COUNT amount of slice headers in EVCParserContext.
Signed-off-by: James Almer <jamrial@gmail.com>
|
2 years ago |
Dawid Kozinski
|
34e4f18360
|
avcodec/evc_parser: Added parser implementation for EVC format
- Added constants definitions for EVC parser
- Provided NAL units parsing following ISO_IEC_23094-1
- EVC parser registration
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
|
2 years ago |