#include <stdint.h>
#include <string.h>
#include "libavutil/lfg.h"
#include "libavutil/log.h"
#include "libavcodec/rangecoder.h"
Go to the source code of this file.
◆ SIZE
◆ rac_check_termination()
Check if at the current position there is a valid looking termination.
- Parameters
-
version | version 0 requires the decoder to know the data size in bytes version 1 needs about 1 bit more space but does not need to carry the size from encoder to decoder |
- Returns
- negative AVERROR code on error or non negative.
Definition at line 36 of file rangecoder.c.
Referenced by main().
◆ main()