Merge commit '0f562f5b83'
* commit '0f562f5b83':
h264: Do not print an error when the buffer has to be refilled
Conflicts:
libavcodec/h264.c
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
b1d547fe02
1 changed files with 1 additions and 0 deletions
|
|
@ -1192,6 +1192,7 @@ static inline int get_avc_nalsize(H264Context *h, const uint8_t *buf,
|
|||
int i, nalsize = 0;
|
||||
|
||||
if (*buf_index >= buf_size - h->nal_length_size) {
|
||||
// the end of the buffer is reached, refill it.
|
||||
return AVERROR(EAGAIN);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue