mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avcodec/h2645_parse: Remove H2645NAL.rbsp_buffer
Forgotten in 03b82b3ab9883cef017e513c7d0b3b986b3b3e7b. (Moving data to the front is only done to make existing initializations like H2645NAL nal = { NULL } not emit int->pointer conversion warnings.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
f900a19fa9
commit
c22a9ece2e
@ -92,8 +92,7 @@ int ff_h2645_extract_rbsp(const uint8_t *src, int length,
|
||||
} else if (i > length)
|
||||
i = length;
|
||||
|
||||
nal->rbsp_buffer = &rbsp->rbsp_buffer[rbsp->rbsp_buffer_size];
|
||||
dst = nal->rbsp_buffer;
|
||||
dst = &rbsp->rbsp_buffer[rbsp->rbsp_buffer_size];
|
||||
|
||||
memcpy(dst, src, i);
|
||||
si = di = i;
|
||||
|
@ -32,10 +32,8 @@
|
||||
#define MAX_MBPAIR_SIZE (256*1024) // a tighter bound could be calculated if someone cares about a few bytes
|
||||
|
||||
typedef struct H2645NAL {
|
||||
uint8_t *rbsp_buffer;
|
||||
|
||||
int size;
|
||||
const uint8_t *data;
|
||||
int size;
|
||||
|
||||
/**
|
||||
* Size, in bits, of just the data, excluding the stop bit and any trailing
|
||||
|
Loading…
x
Reference in New Issue
Block a user