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

avcodec: remove refcounted_frames (refs #18697)

This has no effects when using avcodec_send_packet().
parent 080d54c9
......@@ -219,8 +219,6 @@ int InitAudioDec( vlc_object_t *obj )
if( avctx == NULL )
return VLC_EGENERIC;
avctx->refcounted_frames = true;
/* Allocate the memory needed to store the decoder's structure */
decoder_sys_t *p_sys = malloc(sizeof(*p_sys));
if( unlikely(p_sys == NULL) )
......
......@@ -532,7 +532,6 @@ int InitVideoDec( vlc_object_t *obj )
/* Always use our get_buffer wrapper so we can calculate the
* PTS correctly */
p_context->get_buffer2 = lavc_GetFrame;
p_context->refcounted_frames = true;
p_context->opaque = p_dec;
int i_thread_count = var_InheritInteger( p_dec, "avcodec-threads" );
......
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