aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/parseutils.c
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2022-04-16 03:41:29 -0500
committerrcombs <rcombs@rcombs.me>2022-06-01 19:38:50 -0500
commitc534d9f72a89542ed639071b1ae15893aadf1f18 (patch)
treea9869ab2dec9d6501d7d3572572f954614567279 /libavutil/parseutils.c
parent792a9f2406a52a26ddfd3045e97fda791db323d2 (diff)
downloadffmpeg-c534d9f72a89542ed639071b1ae15893aadf1f18.tar.gz
lavc/h264_ps: always include the stop bit in [s|p]ps->data
The VideoToolbox hwaccel needs the entire NAL (including the stop bit), but ff_h2645_packet_split may remove it. Detect this case by looking for bit counts divisible by 8 and insert a stop-bit-only 0x80 byte. Signed-off-by: rcombs <rcombs@rcombs.me>
Diffstat (limited to 'libavutil/parseutils.c')
0 files changed, 0 insertions, 0 deletions