summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-09 20:21:17 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-21 10:19:54 +0100
commit25408b2a0660c1e6c8555559c4ed71dff2ede31e (patch)
tree24543b24ab0e959e25674af9ddd3451dd4857059 /libavcodec/h264.c
parent1c4073efd24164ac6eaa52c544f5cdb0e5f6aee5 (diff)
h264: make ff_h264_frame_start static.
It is not called from outside h264.c
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index fe4acd69e6..f49bb8da67 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1595,7 +1595,7 @@ static int decode_update_thread_context(AVCodecContext *dst,
context_reinitialized = 1;
/* update linesize on resize. The decoder doesn't
- * necessarily call ff_h264_frame_start in the new thread */
+ * necessarily call h264_frame_start in the new thread */
h->linesize = h1->linesize;
h->uvlinesize = h1->uvlinesize;
@@ -1738,7 +1738,7 @@ static int decode_update_thread_context(AVCodecContext *dst,
return err;
}
-int ff_h264_frame_start(H264Context *h)
+static int h264_frame_start(H264Context *h)
{
Picture *pic;
int i, ret;
@@ -3377,7 +3377,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
Picture *prev = h->short_ref_count ? h->short_ref[0] : NULL;
av_log(h->avctx, AV_LOG_DEBUG, "Frame num gap %d %d\n",
h->frame_num, h->prev_frame_num);
- if (ff_h264_frame_start(h) < 0)
+ if (h264_frame_start(h) < 0)
return -1;
h->prev_frame_num++;
h->prev_frame_num %= 1 << h->sps.log2_max_frame_num;
@@ -3439,7 +3439,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
}
if (!FIELD_PICTURE || h0->first_field) {
- if (ff_h264_frame_start(h) < 0) {
+ if (h264_frame_start(h) < 0) {
h0->first_field = 0;
return -1;
}