ffmpeg: remove unused hw_frames_ctx AVBufferRef from InputStream
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
		
							parent
							
								
									379f8b8ec6
								
							
						
					
					
						commit
						405685dec7
					
				@ -2913,12 +2913,6 @@ static enum AVPixelFormat get_format(AVCodecContext *s, const enum AVPixelFormat
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (ist->hw_frames_ctx) {
 | 
			
		||||
            s->hw_frames_ctx = av_buffer_ref(ist->hw_frames_ctx);
 | 
			
		||||
            if (!s->hw_frames_ctx)
 | 
			
		||||
                return AV_PIX_FMT_NONE;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        ist->hwaccel_pix_fmt = *p;
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -381,7 +381,6 @@ typedef struct InputStream {
 | 
			
		||||
    int  (*hwaccel_retrieve_data)(AVCodecContext *s, AVFrame *frame);
 | 
			
		||||
    enum AVPixelFormat hwaccel_pix_fmt;
 | 
			
		||||
    enum AVPixelFormat hwaccel_retrieved_pix_fmt;
 | 
			
		||||
    AVBufferRef *hw_frames_ctx;
 | 
			
		||||
 | 
			
		||||
    /* stats */
 | 
			
		||||
    // combined size of all the packets read
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user