Skip to content

Commit

Permalink
Update mythmusic for new ffmpex-mmx.h header
Browse files Browse the repository at this point in the history
Following 106132b, forgot to also updates the plugins
  • Loading branch information
jyavenard committed May 22, 2012
1 parent 106132b commit 3a29f2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/goom/mmx.h
Expand Up @@ -2,7 +2,7 @@

#include <mythconfig.h>
#include <libavcodec/avcodec.h>
#include <libavcodec/mmx.h>
#include <ffmpeg-mmx.h>

#define MM_MMX 0x0001 /* standard MMX */
#define MM_3DNOW 0x0004 /* AMD 3DNOW */
Expand Down
7 changes: 4 additions & 3 deletions mythtv/libs/libmythbase/ffmpeg-mmx.h
Expand Up @@ -21,9 +21,9 @@
#ifndef AVCODEC_X86_MMX_H
#define AVCODEC_X86_MMX_H

/* Removed by MythTV. We will keep this file for a while :-)
#warning Everything in this header is deprecated, use plain asm()! New code using this header will be rejected.
*/
#include <mythconfig.h>

#if HAVE_MMX

/*
* The type of an value that fits in an MMX register (note that long
Expand Down Expand Up @@ -307,5 +307,6 @@ typedef union {
#define punpcklqdq_r2r(regs,regd) mmx_r2r (punpcklqdq, regs, regd)
#define punpckhqdq_r2r(regs,regd) mmx_r2r (punpckhqdq, regs, regd)

#endif

#endif /* AVCODEC_X86_MMX_H */
3 changes: 2 additions & 1 deletion mythtv/libs/libmythbase/libmythbase.pro
Expand Up @@ -25,6 +25,7 @@ HEADERS += mythhttppool.h mythhttphandler.h mythdeque.h mythlogging.h
HEADERS += mythbaseutil.h referencecounter.h version.h mythcommandlineparser.h
HEADERS += mythscheduler.h filesysteminfo.h hardwareprofile.h serverpool.h
HEADERS += plist.h bswap.h
HEADERS += ffmpeg-mmx.h

SOURCES += mthread.cpp mthreadpool.cpp
SOURCES += mythsocket.cpp mythsocketthread.cpp msocketdevice.cpp
Expand Down Expand Up @@ -66,7 +67,7 @@ inc.files += mythtranslation.h iso639.h iso3166.h mythmedia.h mythmiscutil.h
inc.files += mythcdrom.h autodeletedeque.h dbutil.h mythhttppool.h mythdeque.h
inc.files += referencecounter.h mythcommandlineparser.h mthread.h mthreadpool.h
inc.files += filesysteminfo.h hardwareprofile.h bonjourregister.h serverpool.h
inc.files += plist.h bswap.h
inc.files += plist.h bswap.h ffmpeg-mmx.h

# Allow both #include <blah.h> and #include <libmythbase/blah.h>
inc2.path = $${PREFIX}/include/mythtv/libmythbase
Expand Down

0 comments on commit 3a29f2f

Please sign in to comment.