Commit 6bba6957 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'a90cff13'

* commit 'a90cff13':
  electronicarts: comment wording fixes
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 6a4e55a2 a90cff13
...@@ -44,21 +44,21 @@ ...@@ -44,21 +44,21 @@
#define GSTR_TAG MKTAG('G', 'S', 'T', 'R') #define GSTR_TAG MKTAG('G', 'S', 'T', 'R')
#define SCDl_TAG MKTAG('S', 'C', 'D', 'l') #define SCDl_TAG MKTAG('S', 'C', 'D', 'l')
#define SCEl_TAG MKTAG('S', 'C', 'E', 'l') #define SCEl_TAG MKTAG('S', 'C', 'E', 'l')
#define kVGT_TAG MKTAG('k', 'V', 'G', 'T') /* TGV i-frame */ #define kVGT_TAG MKTAG('k', 'V', 'G', 'T') /* TGV I-frame */
#define fVGT_TAG MKTAG('f', 'V', 'G', 'T') /* TGV p-frame */ #define fVGT_TAG MKTAG('f', 'V', 'G', 'T') /* TGV P-frame */
#define mTCD_TAG MKTAG('m', 'T', 'C', 'D') /* MDEC */ #define mTCD_TAG MKTAG('m', 'T', 'C', 'D') /* MDEC */
#define MADk_TAG MKTAG('M', 'A', 'D', 'k') /* MAD i-frame */ #define MADk_TAG MKTAG('M', 'A', 'D', 'k') /* MAD I-frame */
#define MADm_TAG MKTAG('M', 'A', 'D', 'm') /* MAD p-frame */ #define MADm_TAG MKTAG('M', 'A', 'D', 'm') /* MAD P-frame */
#define MADe_TAG MKTAG('M', 'A', 'D', 'e') /* MAD lqp-frame */ #define MADe_TAG MKTAG('M', 'A', 'D', 'e') /* MAD lqp-frame */
#define MPCh_TAG MKTAG('M', 'P', 'C', 'h') /* MPEG2 */ #define MPCh_TAG MKTAG('M', 'P', 'C', 'h') /* MPEG-2 */
#define TGQs_TAG MKTAG('T', 'G', 'Q', 's') /* TGQ i-frame (appears in .TGQ files) */ #define TGQs_TAG MKTAG('T', 'G', 'Q', 's') /* TGQ I-frame (appears in .TGQ files) */
#define pQGT_TAG MKTAG('p', 'Q', 'G', 'T') /* TGQ i-frame (appears in .UV files) */ #define pQGT_TAG MKTAG('p', 'Q', 'G', 'T') /* TGQ I-frame (appears in .UV files) */
#define pIQT_TAG MKTAG('p', 'I', 'Q', 'T') /* TQI/UV2 i-frame (.UV2/.WVE) */ #define pIQT_TAG MKTAG('p', 'I', 'Q', 'T') /* TQI/UV2 I-frame (.UV2/.WVE) */
#define MVhd_TAG MKTAG('M', 'V', 'h', 'd') #define MVhd_TAG MKTAG('M', 'V', 'h', 'd')
#define MV0K_TAG MKTAG('M', 'V', '0', 'K') #define MV0K_TAG MKTAG('M', 'V', '0', 'K')
#define MV0F_TAG MKTAG('M', 'V', '0', 'F') #define MV0F_TAG MKTAG('M', 'V', '0', 'F')
#define MVIh_TAG MKTAG('M', 'V', 'I', 'h') /* CMV header */ #define MVIh_TAG MKTAG('M', 'V', 'I', 'h') /* CMV header */
#define MVIf_TAG MKTAG('M', 'V', 'I', 'f') /* CMV i-frame */ #define MVIf_TAG MKTAG('M', 'V', 'I', 'f') /* CMV I-frame */
typedef struct EaDemuxContext { typedef struct EaDemuxContext {
int big_endian; int big_endian;
...@@ -349,10 +349,8 @@ static int process_video_header_cmv(AVFormatContext *s) ...@@ -349,10 +349,8 @@ static int process_video_header_cmv(AVFormatContext *s)
return 0; return 0;
} }
/* /* Process EA file header.
* Process EA file header * Return 1 if the EA file is valid and successfully opened, 0 otherwise. */
* Returns 1 if the EA file is valid and successfully opened, 0 otherwise
*/
static int process_ea_header(AVFormatContext *s) static int process_ea_header(AVFormatContext *s)
{ {
uint32_t blockid, size = 0; uint32_t blockid, size = 0;
...@@ -635,7 +633,7 @@ static int ea_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -635,7 +633,7 @@ static int ea_read_packet(AVFormatContext *s, AVPacket *pkt)
goto get_video_packet; goto get_video_packet;
case mTCD_TAG: case mTCD_TAG:
avio_skip(pb, 8); // skip ea dct header avio_skip(pb, 8); // skip ea DCT header
chunk_size -= 8; chunk_size -= 8;
goto get_video_packet; goto get_video_packet;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment