summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-08-10 11:11:42 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-08-10 11:11:42 +0200
commitb1d547fe024a3ba223e4d0d7f73617b71d629827 (patch)
tree76ed724896fc605274090b08930dcb1ad54bcd91 /libavcodec/h264.h
parent46f15de8a4ea84f68c641f3e94149b72c16dbc56 (diff)
parent0f562f5b833d603e04123d198c59f8b2b5eb43e4 (diff)
downloadffmpeg-streaming-b1d547fe024a3ba223e4d0d7f73617b71d629827.zip
ffmpeg-streaming-b1d547fe024a3ba223e4d0d7f73617b71d629827.tar.gz
Merge commit '0f562f5b833d603e04123d198c59f8b2b5eb43e4'
* commit '0f562f5b833d603e04123d198c59f8b2b5eb43e4': 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>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 153668d..7356288 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -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);
}
OpenPOWER on IntegriCloud