aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/libdc1394.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-08 00:23:37 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-08 00:23:37 +0100
commit8e2bab5d4bddb4029503c0f90623854948ddb3c5 (patch)
tree33a095ce0e92ed353c96c9b25b746ee45a2a00c7 /libavdevice/libdc1394.c
parent7023fb81c78e10a6a7af6e6bc8902f99da81c458 (diff)
parent78212cefe14a2086dc1ea3778b76623b949e5d0c (diff)
downloadffmpeg-8e2bab5d4bddb4029503c0f90623854948ddb3c5.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: drawtext: remove typo pcm-mpeg: implement new audio decoding api w32thread: port fixes to pthread_cond_broadcast() from x264. doc: add editor configuration section with Vim and Emacs settings dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9 avformat/utils: Drop unused goto label. doxygen: Replace '\' by '@' in Doxygen markup tags. cosmetics: drop some completely pointless parentheses cljr: simplify CLJRContext drawtext: introduce rand(min, max) drawtext: introduce explicit draw/hide variable rtmp: Use nb_invokes for all invoke commands Conflicts: libavcodec/mpegvideo.c libavfilter/vf_drawtext.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/libdc1394.c')
-rw-r--r--libavdevice/libdc1394.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index 754f8bf8c1..a8d41f9c16 100644
--- a/libavdevice/libdc1394.c
+++ b/libavdevice/libdc1394.c
@@ -335,8 +335,8 @@ static int dc1394_read_packet(AVFormatContext *c, AVPacket *pkt)
res = dc1394_capture_dequeue(dc1394->camera, DC1394_CAPTURE_POLICY_WAIT, &dc1394->frame);
if (res == DC1394_SUCCESS) {
- dc1394->packet.data = (uint8_t *)(dc1394->frame->image);
- dc1394->packet.pts = (dc1394->current_frame * 1000000) / (dc1394->frame_rate);
+ dc1394->packet.data = (uint8_t *) dc1394->frame->image;
+ dc1394->packet.pts = dc1394->current_frame * 1000000 / dc1394->frame_rate;
res = dc1394->frame->image_bytes;
} else {
av_log(c, AV_LOG_ERROR, "DMA capture failed\n");