mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-05 15:48:53 +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->width = decoder->frame_size.width;
|
||||||
outstream->codec->height = decoder->frame_size.height;
|
outstream->codec->height = decoder->frame_size.height;
|
||||||
outstream->time_base = (AVRational) {1, 60};
|
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);
|
ret = avio_open(&output_ctx->pb, decoder->out_filename, AVIO_FLAG_WRITE);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
LOGE("Failed to open output file");
|
LOGE("Failed to open output file");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue