mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 03:25:03 +00:00
Fix compilation error (to be squashed)
This commit is contained in:
parent
0c940174f4
commit
9bb7c1c287
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ static int run_decoder(void *data) {
|
|||
outstream->codec->width = decoder->frame_size.width;
|
||||
outstream->codec->height = decoder->frame_size.height;
|
||||
outstream->time_base = (AVRational) {1, 60};
|
||||
outstream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
|
||||
outstream->codec->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
|
||||
ret = avio_open(&output_ctx->pb, decoder->out_filename, AVIO_FLAG_WRITE);
|
||||
if (ret < 0) {
|
||||
LOGE("Failed to open output file");
|
||||
|
|
Loading…
Add table
Reference in a new issue