vc2enc: use LAVC_INDENT instead of FFMPEG_VERSION for encoder comment
Prevents from having to recompile vc2enc on every single commit. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
		
							parent
							
								
									0910488a16
								
							
						
					
					
						commit
						dc0481f2fb
					
				@ -19,12 +19,12 @@
 | 
			
		||||
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "libavutil/ffversion.h"
 | 
			
		||||
#include "libavutil/pixdesc.h"
 | 
			
		||||
#include "libavutil/opt.h"
 | 
			
		||||
#include "dirac.h"
 | 
			
		||||
#include "put_bits.h"
 | 
			
		||||
#include "internal.h"
 | 
			
		||||
#include "version.h"
 | 
			
		||||
 | 
			
		||||
#include "vc2enc_dwt.h"
 | 
			
		||||
#include "diractab.h"
 | 
			
		||||
@ -925,7 +925,7 @@ static av_cold int vc2_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
 | 
			
		||||
    int ret;
 | 
			
		||||
    int max_frame_bytes, sig_size = 256;
 | 
			
		||||
    VC2EncContext *s = avctx->priv_data;
 | 
			
		||||
    const char aux_data[] = "FFmpeg version "FFMPEG_VERSION;
 | 
			
		||||
    const char aux_data[] = LIBAVCODEC_IDENT;
 | 
			
		||||
    const int aux_data_size = sizeof(aux_data);
 | 
			
		||||
    const int header_size = 100 + aux_data_size;
 | 
			
		||||
    int64_t r_bitrate = avctx->bit_rate >> (s->interlaced);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user