summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-08 12:28:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-08 12:29:35 +0200
commit50b7ce12574df47ac5380b05259f10e6b516fb17 (patch)
tree8dbcfa89f8f539d011db6d9f542182221f8a1255 /libavcodec/h264_parser.c
parent69ea65b46f1a101f9a4f2c914c75b752122e7cbe (diff)
parent7a82022ee2f9b1fad991ace0936901e7419444be (diff)
Merge commit '7a82022ee2f9b1fad991ace0936901e7419444be'
* commit '7a82022ee2f9b1fad991ace0936901e7419444be': h264_parser: Initialize the h264dsp context in the parser as well Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index f6bd1b6c06..1d27fe21d5 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -466,6 +466,7 @@ static av_cold int init(AVCodecParserContext *s)
H264Context *h = s->priv_data;
h->thread_context[0] = h;
h->slice_context_count = 1;
+ ff_h264dsp_init(&h->h264dsp, 8, 1);
return 0;
}