James Almer
7f01c209f2
vp9_superframe_bsf: implement a AVBSFContext.flush() callback
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
e9980c451e
avcodec/vp9_superframe_bsf: implement a AVBSFContext.flush() callback
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
823362782c
Revert "avcodec/vp9_superframe_bsf: cache packets by creating new references rather than moving them"
...
This reverts commit 7a02b364b6
.
The packet fetched by ff_bsf_get_packet() and ff_bsf_get_packet_ref()
is now guaranteed to be reference counted.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
5c22c90c1d
vp9_superframe_bsf: cache packets by creating new references instead of moving pointers
...
Fixes invalid reads after free.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
7a02b364b6
avcodec/vp9_superframe_bsf: cache packets by creating new references rather than moving them
...
Should hopefully fix the invalid reads after free introduced in
e1bc3f4396
for all targets.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
37f4a093f7
avcodec/vp9_superframe_bsf: allocate cache of packets during init
...
Also use av_packet_move_ref() to cache them instead of copying
pointers.
Fixes invalid reads since e1bc3f4396
.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Anton Khirnov
3fb6b98b5e
vp9_superframe_bsf: cache input packets directly
...
Avoids unnecessary allocs+copies and makes the code slightly simpler.
8 years ago
Anton Khirnov
126bc2c33b
vp9_superframe_bsf: convert to the new bitstream reader
8 years ago
Ronald S. Bultje
0cf949a011
vp9: Add bsf to merge superframes
...
From ffmpeg commit 2e6636aa87
.
8 years ago
Ronald S. Bultje
abedde65d1
vp9_superframe: fix endianness of size markers.
9 years ago
Ronald S. Bultje
2e6636aa87
vp9: add superframe merging bitstream filter.
...
Fixes ticket 4313.
9 years ago