Commit f512e4a3 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '61f168ae'

* commit '61f168ae':
  h264: factor out setting the parameter sets for a frame

Michael's changes on top of the merge undo parts of the original diff
that are not factorization:

"The call point is left where it was before. Such a change should be in
a separate commit and has multiple issues, one being null pointer
dereferences the other is that some safety checks would become
conditional.

I tried to split the PPS init between the new and old functions
similarly to the SPS code."
Merged-by: 's avatarClément Bœsch <u@pkh.me>
Merged-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parents 0f2654c9 61f168ae
......@@ -413,6 +413,8 @@ typedef struct H264SliceContext {
} ref_modifications[2][32];
int nb_ref_modifications[2];
unsigned int pps_id;
const uint8_t *intra_pcm_ptr;
int16_t *dc_val_base;
......
This diff is collapsed.
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