summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-10-12 09:39:50 -0700
committerJohn Stebbins <[email protected]>2016-10-12 09:39:50 -0700
commite6f00e152300ae8179b8a8d7e6be424dde0717fe (patch)
tree31ffd49ba22be4199044de2b208fc343b209ed6c
parentd36e966478ab0a86a04833d76b676aec3758bb78 (diff)
encvorbis: fix use of wrong union member
Innocuous error, but might as well get it fixed.
-rw-r--r--libhb/encvorbis.c4
1 files changed, 2 insertions, 2 deletions
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 );
}