Commit dd99f3c0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avodec: unused variable

parent 53c90158
......@@ -902,7 +902,6 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
encoder_sys_t *p_sys = p_enc->p_sys;
int i_out, i_plane, i_got_packet=1;
AVPacket av_pkt;
/* Initialize the video output buffer the first time.
* This is done here instead of OpenEncoder() because we need the actual
......@@ -914,6 +913,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
block_t *p_block = block_Alloc( blocksize );
AVPacket av_pkt;
/*We don't use av_pkt with major_version < 54, so no point init it*/
av_init_packet( &av_pkt ); = p_block->p_buffer;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment