[vlc-devel] [PATCHv11] dcp: Creation of access-demux module for DCP

Nicolas Bertrand nicoinattendu at gmail.com
Tue Dec 10 12:16:29 CET 2013


Le 05/12/2013 15:33, Denis Charmet a écrit :
>> +    switch( p_sys->PictureEssType )
>> >+    {
>> >+        case ESS_UNKNOWN:
>> >+            msg_Err( p_demux, "The file %s is not a supported AS_DCP essence container", p_sys->p_dcp->videofile.c_str() );
>> >+            retval = VLC_EGENERIC;
>> >+            goto error;
>> >+
>> >+        case ESS_JPEG_2000:
>> >+        case ESS_JPEG_2000_S: {
>> >+            JP2K::PictureDescriptor * p_PicDesc = new ( nothrow ) JP2K::PictureDescriptor();
> I'd let the descriptors on the stack. Except if they are too big.
When Its declared here its not in the stack ?




More information about the vlc-devel mailing list