You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Merge commit '40af330adf7fde8073271cf2b41ff9adc4c2bba9'
* commit '40af330adf7fde8073271cf2b41ff9adc4c2bba9':
  avconv: vda: Unlock the pixel buffer once it is accessed
See: c06fdacc3d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
			
			
This commit is contained in:
		| @@ -76,9 +76,10 @@ static int vda_retrieve_data(AVCodecContext *s, AVFrame *frame) | ||||
|                   (const uint8_t **)data, linesize, vda->tmp_frame->format, | ||||
|                   frame->width, frame->height); | ||||
|  | ||||
|     ret = av_frame_copy_props(vda->tmp_frame, frame); | ||||
|     CVPixelBufferUnlockBaseAddress(pixbuf, kCVPixelBufferLock_ReadOnly); | ||||
|  | ||||
|     ret = av_frame_copy_props(vda->tmp_frame, frame); | ||||
|  | ||||
|     if (ret < 0) | ||||
|         return ret; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user