Changeset 38 in SHVCSoftware for branches/SHM-1.1-dev/source/App/TAppEncoder/TAppEncTop.cpp
- Timestamp:
- 20 Feb 2013, 21:24:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-1.1-dev/source/App/TAppEncoder/TAppEncTop.cpp
r33 r38 706 706 } 707 707 708 #if AVC_SYNTAX 709 if( !m_BLSyntaxFile ) 710 { 711 printf( "Wrong base layer syntax input file\n" ); 712 exit(EXIT_FAILURE); 713 } 714 fstream streamSyntaxFile( m_BLSyntaxFile, fstream::in | fstream::binary ); 715 if( !streamSyntaxFile.good() ) 716 { 717 printf( "Base layer syntax input reading error\n" ); 718 exit(EXIT_FAILURE); 719 } 720 m_acTEncTop[0].setBLSyntaxFile( &streamSyntaxFile ); 721 #endif 722 708 723 Bool bFirstFrame = true; 709 724 while ( !bEos ) … … 791 806 } 792 807 808 #if AVC_SYNTAX 809 if( streamSyntaxFile.is_open() ) 810 { 811 streamSyntaxFile.close(); 812 } 813 #endif 814 793 815 // delete buffers & classes 794 816 xDeleteBuffer();
Note: See TracChangeset for help on using the changeset viewer.