Commit 4c0426c4 authored by James Almer's avatar James Almer

Merge commit '0cf949a0'

* commit '0cf949a0':
  vp9: Add bsf to merge superframes

[14:25:37] <@BBB> the functional change is wrong
[14:25:48] <@BBB> it allows recusrively packing superframes in superframes
[14:26:37] <@BBB> so I would ignore the remainder

See 2e6636aaMerged-by: 's avatarJames Almer <jamrial@gmail.com>
parents b848eb83 0cf949a0
......@@ -71,10 +71,12 @@ static int merge_superframe(const struct CachedBuf *in, int n_in, AVPacket *out)
}
#define wloop(mag, wr) \
for (n = 0; n < n_in; n++) { \
wr; \
ptr += mag + 1; \
}
do { \
for (n = 0; n < n_in; n++) { \
wr; \
ptr += mag + 1; \
} \
} while (0)
// write superframe with marker 110[mag:2][nframes:3]
*ptr++ = marker;
......
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