mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/cbs_h2645: remove dead code in cbs_h2645_replace_ps()
Missed in 0720e15c03
. PS units are now guaranteed
to always be reference counter.
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
233a99e191
commit
c35cf9fe53
|
@ -671,8 +671,6 @@ static int cbs_h26 ## h26n ## _replace_ ## ps_var(CodedBitstreamContext *ctx, \
|
|||
if (!priv->ps_var ## _ref[id]) \
|
||||
return AVERROR(ENOMEM); \
|
||||
priv->ps_var[id] = (H26 ## h26n ## Raw ## ps_name *)priv->ps_var ## _ref[id]->data; \
|
||||
if (!unit->content_ref) \
|
||||
memcpy(priv->ps_var[id], ps_var, sizeof(*ps_var)); \
|
||||
return 0; \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue