History

Merge commit '0e4c166cdd6446522a085dd9731967d09ac71f72'

* commit '0e4c166cdd6446522a085dd9731967d09ac71f72': cbs_h2645: Remove active ps references when it is replaced

Mark Thompson committed 8 years ago

Commit af3727e2 parents 1325ac4 0e4c1661 file · +2 −0Browse files

Unified · Split

libavcodec/cbs_h2645.c+2−0
@@ -674,6 +674,8 @@ static int cbs_h26 ## h26n ## _replace_ ## ps_var(CodedBitstreamContext *ctx, \ · 673 unmodified lines
674 " id : %d.\n", id); \674 " id : %d.\n", id); \
675 return AVERROR_INVALIDDATA; \675 return AVERROR_INVALIDDATA; \
676 } \676 } \
677 if (priv->ps_var[id] == priv->active_ ## ps_var) \
678 priv->active_ ## ps_var = NULL ; \
677 av_freep(&priv->ps_var[id]); \679 av_freep(&priv->ps_var[id]); \
678 priv->ps_var[id] = av_malloc(sizeof(*ps_var)); \680 priv->ps_var[id] = av_malloc(sizeof(*ps_var)); \
679 if (!priv->ps_var[id]) \681 if (!priv->ps_var[id]) \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t