Revision 7a5c850b
libavcodec/h264.c | ||
---|---|---|
1843 | 1843 |
c = h->thread_context[i] = av_malloc(sizeof(H264Context)); |
1844 | 1844 |
memcpy(c, h->s.thread_context[i], sizeof(MpegEncContext)); |
1845 | 1845 |
memset(&c->s + 1, 0, sizeof(H264Context) - sizeof(MpegEncContext)); |
1846 |
c->h264dsp = h->h264dsp; |
|
1846 | 1847 |
c->sps = h->sps; |
1847 | 1848 |
c->pps = h->pps; |
1848 | 1849 |
init_scan_tables(c); |
Also available in: Unified diff