diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-22 20:31:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-22 20:31:49 +0200 |
commit | 610a8b1537fe728f4f1e44a5276f225334653123 (patch) | |
tree | 8fba6bfe093e5681117338fc37de0d282b2a3cb0 | |
parent | 0c8aba3842a718eb9139fc88b7b60dc79e127bd7 (diff) | |
download | ffmpeg-610a8b1537fe728f4f1e44a5276f225334653123.tar.gz |
avcodec/hevc/extract_rbsp: fix error return type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 58a95ad131..a395bc9087 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -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; |