Ticket #1068: TDecCAVLC.cpp.patch
File TDecCAVLC.cpp.patch, 1.1 KB (added by pieterkapsenberg, 12 years ago) |
---|
-
TDecCAVLC.cpp
934 934 rpcSlice->setPOC (iPOCmsb+iPOClsb); 935 935 936 936 TComReferencePictureSet* rps; 937 rps = rpcSlice->getLocalRPS(); 938 rpcSlice->setRPS(rps); 937 939 READ_FLAG( uiCode, "short_term_ref_pic_set_sps_flag" ); 938 940 if(uiCode == 0) // use short-term reference picture set explicitly signalled in slice header 939 941 { 940 rps = rpcSlice->getLocalRPS();941 942 parseShortTermRefPicSet(sps,rps, sps->getRPSList()->getNumberOfReferencePictureSets()); 942 rpcSlice->setRPS(rps);943 943 } 944 944 else // use reference to short-term reference picture set in PPS 945 945 { … … 956 956 { 957 957 uiCode = 0; 958 958 } 959 rpcSlice->setRPS(sps->getRPSList()->getReferencePictureSet(uiCode)); 960 961 rps = rpcSlice->getRPS(); 959 memcpy(rps,sps->getRPSList()->getReferencePictureSet(uiCode),sizeof(TComReferencePictureSet)); 962 960 } 963 961 if(sps->getLongTermRefsPresent()) 964 962 {