avformat/internal: Allow AVFormatInternal.pkt to be used by muxers
It is unused by the generic muxing code. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
		
							parent
							
								
									eadb1cd6f8
								
							
						
					
					
						commit
						c2bb054979
					
				@ -121,7 +121,9 @@ typedef struct FFFormatContext {
 | 
			
		||||
    AVPacket *parse_pkt;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Used to hold temporary packets.
 | 
			
		||||
     * Used to hold temporary packets for the generic demuxing code.
 | 
			
		||||
     * When muxing, it may be used by muxers to hold packets (even
 | 
			
		||||
     * permanent ones).
 | 
			
		||||
     */
 | 
			
		||||
    AVPacket *pkt;
 | 
			
		||||
    /**
 | 
			
		||||
 | 
			
		||||
@ -1292,6 +1292,7 @@ int av_write_trailer(AVFormatContext *s)
 | 
			
		||||
    if (s->oformat->priv_class)
 | 
			
		||||
        av_opt_free(s->priv_data);
 | 
			
		||||
    av_freep(&s->priv_data);
 | 
			
		||||
    av_packet_unref(si->pkt);
 | 
			
		||||
    return ret;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user