File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1223,11 +1223,11 @@ AVStream *FFmpegWriter::add_video_stream() {
12231223 st->time_base .num = info.video_timebase .num ;
12241224 st->time_base .den = info.video_timebase .den ;
12251225#if (LIBAVFORMAT_VERSION_MAJOR >= 58)
1226- _Pragma ( " GCC diagnostic push" );
1227- _Pragma ( " GCC diagnostic ignored \ " -Wdeprecated-declarations\" " ); \
1226+ # pragma GCC diagnostic push
1227+ # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12281228 st->codec ->time_base .num = info.video_timebase .num ;
12291229 st->codec ->time_base .den = info.video_timebase .den ;
1230- _Pragma ( " GCC diagnostic pop" );
1230+ # pragma GCC diagnostic pop
12311231#endif
12321232
12331233 c->gop_size = 12 ; /* TODO: add this to "info"... emit one intra frame every twelve frames at most */
You can’t perform that action at this time.
0 commit comments