History

Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master: Fix standalone compilation of the mov muxer with --disable-optimizations.

Michael Niedermayer committed 11 years ago

Commit 162f3442 parents 55feff5 a2bc8c51 file · +5 −1Browse files

Unified · Split

libavformat/movenc.c+5−1
@@ -322,6 +322,7 @@ struct eac3_info { · 321 unmodified lines
322322 } substream[1]; /* TODO: support 8 independent substreams */
323323 };
324324
325+#if CONFIG_AC3_PARSER
325326 static int handle_eac3(MOVMuxContext *mov, AVPacket *pkt, MOVTrack *track)
326327 {
327328 GetBitContext gbc;
@@ -442,6 +443,7 @@ concatenate: · 114 unmodified lines
442443
443444 return pkt->size;
444445 }
446+#endif
445447
446448 static int mov_write_eac3_tag(AVIOContext *pb, MOVTrack *track)
447449 {
@@ -4188,13 +4190,15 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt) · 3740 unmodified lines
41884190 } else {
41894191 size = ff_hevc_annexb2mp4(pb, pkt->data, pkt->size, 0, NULL);
41904192 }
4191− } else if (CONFIG_AC3_PARSER && enc->codec_id == AV_CODEC_ID_EAC3) {
4193+#if CONFIG_AC3_PARSER
4194+ } else if (enc->codec_id == AV_CODEC_ID_EAC3) {
41924195 size = handle_eac3(mov, pkt, trk);
41934196 if (size < 0)
41944197 return size;
41954198 else if (!size)
41964199 goto end;
41974200 avio_write(pb, pkt->data, size);
4201+#endif
41984202 } else {
41994203 avio_write(pb, pkt->data, size);
42004204 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t