From e6f00e152300ae8179b8a8d7e6be424dde0717fe Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 12 Oct 2016 09:39:50 -0700 Subject: encvorbis: fix use of wrong union member Innocuous error, but might as well get it fixed. --- libhb/encvorbis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhb/encvorbis.c') diff --git a/libhb/encvorbis.c b/libhb/encvorbis.c index f89563949..c4e63c2ec 100644 --- a/libhb/encvorbis.c +++ b/libhb/encvorbis.c @@ -120,9 +120,9 @@ int encvorbisInit(hb_work_object_t *w, hb_job_t *job) ogg_packet *pheader; for (i = 0; i < 3; i++) { - pheader = (ogg_packet*)w->config->theora.headers[i]; + pheader = (ogg_packet*)w->config->vorbis.headers[i]; memcpy(pheader, &header[i], sizeof(ogg_packet)); - pheader->packet = w->config->theora.headers[i] + sizeof(ogg_packet); + pheader->packet = w->config->vorbis.headers[i] + sizeof(ogg_packet); memcpy(pheader->packet, header[i].packet, header[i].bytes ); } -- cgit v1.2.3