Changeset 749
- Timestamp:
- 11/30/07 17:44:48 (9 months ago)
- Files:
-
- branches/perian-1.1/FFusionCodec.c (modified) (3 diffs)
- branches/perian-1.1/bitstream_info.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/perian-1.1/FFusionCodec.c
r744 r749 677 677 // specifically PAFF + spatial prediction 678 678 if (codecID == CODEC_ID_H264 && ffusionIsParsedVideoInterlaced(glob->begin.parser)) 679 return -2;679 goto error; 680 680 681 681 // some hooks into ffmpeg's buffer allocation to get frames in … … 694 694 Codecprintf(glob->fileLog, "Error opening avcodec!\n"); 695 695 696 return -2;696 goto error; 697 697 } 698 698 … … 774 774 775 775 return noErr; 776 777 error: 778 HLock(glob->pixelTypes); 779 pos = *((OSType **)glob->pixelTypes); 780 *pos = 0; 781 p->wantedDestinationPixelTypes = (OSType **)glob->pixelTypes; 782 HUnlock(glob->pixelTypes); 783 784 return -2; 776 785 } 777 786 branches/perian-1.1/bitstream_info.c
r744 r749 354 354 for(i=0; i<context->num_ref_frames_in_pic_order_cnt_cycle; i++) 355 355 context->sum_of_offset_for_ref_frames += get_se_golomb(gb); //offset_for_ref_frame[i] 356 get_ue_golomb(gb); //num_ref_frames357 get_bits1(gb); //gaps_in_frame_num_value_allowed_flag358 get_ue_golomb(gb); //pic_width_in_mbs_minus1359 get_ue_golomb(gb); //pic_height_in_map_units_minus1360 context->frame_mbs_only_flag = get_bits1(gb);361 }356 } 357 get_ue_golomb(gb); //num_ref_frames 358 get_bits1(gb); //gaps_in_frame_num_value_allowed_flag 359 get_ue_golomb(gb); //pic_width_in_mbs_minus1 360 get_ue_golomb(gb); //pic_height_in_map_units_minus1 361 context->frame_mbs_only_flag = get_bits1(gb); 362 362 } 363 363
