remove the flags of codec

remove the flags of codec
pull/166/head
xufulong 4 years ago
parent fe1b35f296
commit 8a0ad6be65
  1. 2
      app/src/main/cpp/ffmpeg_pusher.cpp

@ -74,7 +74,7 @@ PUSHER_FUNC(jint, pushStream, jstring filePath, jstring liveUrl) {
}
out_stream->codec->codec_tag = 0;
if (out_format->oformat->flags & AVFMT_GLOBALHEADER) {
out_stream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
// out_stream->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
}
}
output_format = out_format->oformat;

Loading…
Cancel
Save