mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-27 20:01:50 +02:00
avcodec/hevc/extract_rbsp: fix error return type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0c8aba3842
commit
610a8b1537
@ -2277,7 +2277,7 @@ static int extract_rbsp(HEVCContext *s, const uint8_t *src, int length,
|
||||
s->skipped_bytes_pos_size,
|
||||
sizeof(*s->skipped_bytes_pos));
|
||||
if (!s->skipped_bytes_pos)
|
||||
return NULL;
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
s->skipped_bytes_pos[s->skipped_bytes-1] = di - 1;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user