mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avformat/hls: fix CID 1426930
Signed-off-by: Aman Gupta <aman@tmm1.net>
This commit is contained in:
parent
5533cbfc84
commit
3d95868d1b
1 changed files with 1 additions and 1 deletions
|
|
@ -1197,7 +1197,7 @@ static int open_input(HLSContext *c, struct playlist *pls, struct segment *seg,
|
|||
AVDictionary *opts2 = NULL;
|
||||
char iv[33], key[33], url[MAX_URL_SIZE];
|
||||
if (strcmp(seg->key, pls->key_url)) {
|
||||
AVIOContext *pb;
|
||||
AVIOContext *pb = NULL;
|
||||
if (open_url(pls->parent, &pb, seg->key, c->avio_opts, opts, NULL) == 0) {
|
||||
ret = avio_read(pb, pls->key, sizeof(pls->key));
|
||||
if (ret != sizeof(pls->key)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue