diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-07-03 17:34:51 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-07-11 15:32:30 +0200 |
commit | 1410732621ddfeec2908bd1add7f15c0240eccdd (patch) | |
tree | 643e69d2b84102ac737aabc52b1a5185f73f1d8a /libavcodec/h261_parser.c | |
parent | f9a150fc31c5336a8d51bc51a921d1f9885d5876 (diff) | |
download | ffmpeg-1410732621ddfeec2908bd1add7f15c0240eccdd.tar.gz |
lavc/mediacodecdec_h264: properly convert extradata to annex-b
H264ParamSets has its SPS/PPS stored raw (SODB) and needs to be
converted to NAL units before sending them to MediaCodec.
This patch adds the missing convertion of the SPS/PPS from SOBP to RBSP
which makes the resulting NAL units correct.
Fixes codec initialization on Nexus 4 and Nexus 7.
(cherry picked from commit 88d9c30cf57ec7328f16a241f10c84415e9aef4e)
Diffstat (limited to 'libavcodec/h261_parser.c')
0 files changed, 0 insertions, 0 deletions