VirtualBox

Changeset 68723 in vbox


Ignore:
Timestamp:
Sep 12, 2017 12:57:16 PM (7 years ago)
Author:
vboxsync
Message:

VideoRec/EbmlWriter.cpp: Fixed Opus header initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/EbmlWriter.cpp

    r68720 r68723  
    499499        OpusPrivData(uint32_t a_u32SampleRate, uint8_t a_u8Channels)
    500500        {
    501             RTStrPrintf((char *)au8Head, sizeof(au8Head), "OpusHead");
    502 
     501            au64Head        = RT_MAKE_U64_FROM_U8('O', 'p', 'u','s', 'H', 'e', 'a', 'd');
    503502            u8Version       = 1;
    504503            u8Channels      = a_u8Channels;
     
    509508        }
    510509
    511         uint8_t  au8Head[8];        /**< Defaults to "OpusHead". */
     510        uint64_t au64Head;          /**< Defaults to "OpusHead". */
    512511        uint8_t  u8Version;         /**< Must be set to 1. */
    513512        uint8_t  u8Channels;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette